reloading tree now doesn't force note reload

This commit is contained in:
azivner
2017-11-05 10:06:49 -05:00
parent df7a39776d
commit 8c996a75ef
3 changed files with 25 additions and 6 deletions
+1 -3
View File
@@ -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