mirror of
https://github.com/TriliumNext/Notes.git
synced 2026-01-29 00:28:35 -06:00
fix bug with unresponsive tree after tree reload
This commit is contained in:
@@ -400,6 +400,7 @@ function initFancyTree(tree) {
|
||||
beforeActivate: (event, data) => {
|
||||
// this is for the case when tree reload has been called and we don't want to
|
||||
if (ignoreNextActivationNoteId && getActiveNode() !== null) {
|
||||
ignoreNextActivationNoteId = null;
|
||||
return false;
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user