diff --git a/apps/client/src/services/link.ts b/apps/client/src/services/link.ts index c03ab536a..b9141ff0f 100644 --- a/apps/client/src/services/link.ts +++ b/apps/client/src/services/link.ts @@ -316,7 +316,7 @@ function goToLinkExt(evt: MouseEvent | JQuery.ClickEvent | JQuery.MouseDownEvent const openInNewWindow = isLeftClick && evt?.shiftKey && !ctrlKey; if (notePath) { - if (openInPopup) { + if (isLeftClick && openInPopup) { appContext.triggerCommand("openInPopup", { noteIdOrPath: notePath }); } else if (openInNewWindow) { appContext.triggerCommand("openInWindow", { notePath, viewScope });