note converted to module

This commit is contained in:
azivner
2017-11-04 17:54:27 -04:00
parent adc7d15819
commit b44c685f23
11 changed files with 301 additions and 270 deletions

View File

@@ -7,7 +7,7 @@ const noteHistory = (function() {
let historyItems = [];
async function showCurrentNoteHistory() {
await showNoteHistoryDialog(glob.currentNote.detail.note_id);
await showNoteHistoryDialog(noteEditor.getCurrentNoteId());
}
async function showNoteHistoryDialog(noteId, noteHistoryId) {