Update previewInteractions.ts

This commit is contained in:
Daniel Fiuk 2026-04-21 18:09:24 -06:00
parent 50f39f8121
commit 0116f31ba8

View file

@ -33,7 +33,7 @@ export async function showCustomPreview(
pin.note.path
);
titleLink.onclick = (e) => {
titleLink.onclick = async (e) => {
e.preventDefault();
e.stopPropagation();
await app.workspace.openLinkText(pin.note.path, pin.note.path, e.ctrlKey || e.metaKey);