mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-20 16:40:13 +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({
|
window.siyuan.mobile.docks.outline = new MobileOutline({
|
||||||
app,
|
app,
|
||||||
blockId: window.siyuan.mobile.editor?.protyle.block.rootID,
|
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 {
|
} else {
|
||||||
fetchPost("/api/outline/getDocOutline", {
|
fetchPost("/api/outline/getDocOutline", {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue