Skip to content

Build your personal knowledge base with Trilium Notes

fix "open in new window" link context menu

zadam26442f418a94
diff --git a/src/public/app/services/link.js b/src/public/app/services/link.js
index 20fbd7c461..5f678fb69b 100644
--- a/src/public/app/services/link.js
+++ b/src/public/app/services/link.js
@@ -130,7 +130,7 @@ function linkContextMenu(e) {
appContext.tabManager.openTabWithNote(notePath);
}
else if (command === 'openNoteInNewWindow') {
- appContext.openInNewWindow(notePath);
+ appContext.triggerCommand('openInWindow', {notePath});
}
}
});