From cb6a843cd9570b443b4b0775660b1cd49353951a Mon Sep 17 00:00:00 2001 From: Vanessa Date: Tue, 2 Jan 2024 10:29:46 +0800 Subject: [PATCH] :iphone: --- app/src/mobile/editor.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/mobile/editor.ts b/app/src/mobile/editor.ts index 2b5cccfea..161a0b99b 100644 --- a/app/src/mobile/editor.ts +++ b/app/src/mobile/editor.ts @@ -65,7 +65,7 @@ export const openMobileFileById = (app: App, id: string, action = [Constants.CB_ if (window.siyuan.mobile.editor) { pushBack(); addLoading(window.siyuan.mobile.editor.protyle); - if (action.includes(Constants.CB_GET_SCROLL)) { + if (action.includes(Constants.CB_GET_SCROLL) && window.siyuan.storage[Constants.LOCAL_FILEPOSITION][data.data.rootID]) { getDocByScroll({ protyle: window.siyuan.mobile.editor.protyle, scrollAttr: window.siyuan.storage[Constants.LOCAL_FILEPOSITION][data.data.rootID],