fix "open in new window" link context menu

This commit is contained in:
zadam 2020-11-24 23:06:37 +01:00
parent 23a432e7d8
commit 26442f418a

View File

@ -130,7 +130,7 @@ function linkContextMenu(e) {
appContext.tabManager.openTabWithNote(notePath); appContext.tabManager.openTabWithNote(notePath);
} }
else if (command === 'openNoteInNewWindow') { else if (command === 'openNoteInNewWindow') {
appContext.openInNewWindow(notePath); appContext.triggerCommand('openInWindow', {notePath});
} }
} }
}); });