mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-30 04:05:16 +01:00
🚨
This commit is contained in:
parent
e6a8abf004
commit
6f0c68f506
11 changed files with 29 additions and 31 deletions
|
|
@ -391,7 +391,7 @@ const focusElementById = (protyle: IProtyle, action: string[], scrollAttr?: IScr
|
|||
}
|
||||
/// #endif
|
||||
}
|
||||
const hasScrollTop = scrollAttr && typeof scrollAttr.scrollTop === "number"
|
||||
const hasScrollTop = scrollAttr && typeof scrollAttr.scrollTop === "number";
|
||||
if (hasScrollTop) {
|
||||
protyle.contentElement.scrollTop = scrollAttr.scrollTop;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue