mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-21 19:41:05 +08:00
This commit is contained in:
parent
f6cf6b1d2b
commit
6b34eb325f
@ -119,7 +119,7 @@ export const onGet = (data: IWebSocketData, protyle: IProtyle, action: string[]
|
|||||||
unScroll: (scrollObj && scrollObj.focusId) ? true : false,
|
unScroll: (scrollObj && scrollObj.focusId) ? true : false,
|
||||||
}, protyle);
|
}, protyle);
|
||||||
|
|
||||||
if (scrollObj && protyle.options.mode === "wysiwyg") {
|
if (scrollObj && protyle.options.mode !== "preview") {
|
||||||
restoreScroll(protyle, scrollObj);
|
restoreScroll(protyle, scrollObj);
|
||||||
}
|
}
|
||||||
const loadingElement = protyle.element.querySelector(".fn__loading");
|
const loadingElement = protyle.element.querySelector(".fn__loading");
|
||||||
|
Loading…
Reference in New Issue
Block a user