fix closing of context menu on FF66, closes #468

This commit is contained in:
zadam
2019-03-28 20:54:17 +01:00
parent 946dae72d9
commit 3c56d29fca
2 changed files with 19 additions and 2 deletions

View File

@@ -417,6 +417,9 @@ function initFancyTree(tree) {
const node = data.node;
const noteId = node.data.noteId;
// click event won't propagate so let's close context menu manually
contextMenuWidget.hideContextMenu();
setCurrentNotePathToHash(node);
noteDetailService.switchToNote(noteId);