From d866bdf4263974e1f65d8a7446c8eb9473f00cbb Mon Sep 17 00:00:00 2001 From: Vanessa Date: Sun, 29 Oct 2023 17:24:49 +0800 Subject: [PATCH] :art: fix https://github.com/siyuan-note/siyuan/issues/9550 --- app/src/protyle/wysiwyg/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/protyle/wysiwyg/index.ts b/app/src/protyle/wysiwyg/index.ts index b88e9f476..0635c78d1 100644 --- a/app/src/protyle/wysiwyg/index.ts +++ b/app/src/protyle/wysiwyg/index.ts @@ -1814,7 +1814,7 @@ export class WYSIWYG { openByMobile(linkAddress); /// #endif } - } else { + } else if (linkAddress) { /// #if !BROWSER shell.openExternal(linkAddress).catch((e) => { showMessage(e);