mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-29 21:08:49 +01:00
🎨
This commit is contained in:
parent
858d1f3627
commit
24ee5d14be
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ export const scrollCenter = (protyle: IProtyle, nodeElement?: Element, top = fal
|
|||
if (blockElement) {
|
||||
// undo 时禁止数据库滚动
|
||||
if (blockElement.classList.contains("av") && blockElement.dataset.render === "true" &&
|
||||
(blockElement.querySelector(".av__row--header").getAttribute("style").indexOf("transform") > -1 || blockElement.querySelector(".av__row--footer").getAttribute("style").indexOf("transform") > -1)) {
|
||||
(blockElement.querySelector(".av__row--header").getAttribute("style")?.indexOf("transform") > -1 || blockElement.querySelector(".av__row--footer").getAttribute("style")?.indexOf("transform") > -1)) {
|
||||
return;
|
||||
}
|
||||
const editorElement = protyle.contentElement;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue