mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 14:40:12 +01:00
This commit is contained in:
parent
51fa248e51
commit
b1a00c6ebd
1 changed files with 1 additions and 1 deletions
|
|
@ -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", {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue