From 0f129734aea7a9921c878e45c75715a793a061a7 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Thu, 17 Jul 2025 11:19:29 +0300 Subject: [PATCH] fix(link): popup triggering with bare right click --- apps/client/src/services/link.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 });