mirror of
https://github.com/TriliumNext/Notes.git
synced 2026-05-08 05:09:13 -05:00
reloading tree now doesn't force note reload
This commit is contained in:
@@ -107,7 +107,7 @@ const noteTree = (function() {
|
||||
activate: (event, data) => {
|
||||
const node = data.node.data;
|
||||
|
||||
noteEditor.saveNoteIfChanged().then(() => noteEditor.loadNoteToEditor(node.note_id));
|
||||
noteEditor.switchToNote(node.note_id);
|
||||
},
|
||||
expand: (event, data) => {
|
||||
setExpandedToServer(data.node.key, true);
|
||||
@@ -119,8 +119,6 @@ const noteTree = (function() {
|
||||
if (startNoteId) {
|
||||
data.tree.activateKey(startNoteId);
|
||||
}
|
||||
|
||||
$(window).resize();
|
||||
},
|
||||
hotkeys: {
|
||||
keydown: keybindings
|
||||
|
||||
Reference in New Issue
Block a user