mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 10:55:55 +01:00
moved all global variables into glob object
This commit is contained in:
@@ -47,10 +47,10 @@ function deleteNode(node) {
|
||||
node.getParent().renderTitle();
|
||||
}
|
||||
|
||||
globalAllNoteIds = globalAllNoteIds.filter(e => e !== node.key);
|
||||
glob.allNoteIds = glob.allNoteIds.filter(e => e !== node.key);
|
||||
|
||||
// remove from recent notes
|
||||
globalRecentNotes = globalRecentNotes.filter(note => note !== node.key);
|
||||
glob.recentNotes = glob.recentNotes.filter(note => note !== node.key);
|
||||
|
||||
let next = node.getNextSibling();
|
||||
if (!next) {
|
||||
|
||||
Reference in New Issue
Block a user