converted recent changes to module

This commit is contained in:
azivner
2017-11-04 13:39:26 -04:00
parent af5ecd1869
commit 6d82a0e03f
4 changed files with 102 additions and 92 deletions
+1 -2
View File
@@ -49,8 +49,7 @@ function deleteNode(node) {
glob.allNoteIds = glob.allNoteIds.filter(e => e !== node.key);
// remove from recent notes
glob.recentNotes = glob.recentNotes.filter(note => note !== node.key);
recentNotes.removeRecentNote(node.key);
let next = node.getNextSibling();
if (!next) {