From b1a00c6ebd929462dc596c1e66e6ce82e063c2b3 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Sun, 2 Nov 2025 22:30:33 +0800 Subject: [PATCH] :bug: https://github.com/siyuan-note/siyuan/issues/16130 --- app/src/mobile/util/initFramework.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/mobile/util/initFramework.ts b/app/src/mobile/util/initFramework.ts index d15916e8b..3335e9a02 100644 --- a/app/src/mobile/util/initFramework.ts +++ b/app/src/mobile/util/initFramework.ts @@ -99,7 +99,7 @@ export const initFramework = (app: App, isStart: boolean) => { window.siyuan.mobile.docks.outline = new MobileOutline({ app, blockId: window.siyuan.mobile.editor?.protyle.block.rootID, - isPreview: window.siyuan.mobile.editor?.protyle.preview.element.classList.contains("fn__none") + isPreview: window.siyuan.mobile.editor ? !window.siyuan.mobile.editor.protyle.preview.element.classList.contains("fn__none") : false }); } else { fetchPost("/api/outline/getDocOutline", {