mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-20 08:30:12 +01:00
🚨
This commit is contained in:
parent
40a1e6d5cc
commit
79a88dfbec
2 changed files with 4 additions and 4 deletions
|
|
@ -21,7 +21,7 @@ export const avRender = (element: Element, protyle: IProtyle, cb?: () => void) =
|
|||
if (e.getAttribute("data-render") === "true") {
|
||||
return;
|
||||
}
|
||||
let time: number
|
||||
let time: number;
|
||||
if (e.firstElementChild.innerHTML === "") {
|
||||
e.style.width = e.parentElement.clientWidth - 40 + "px";
|
||||
time = new Date().getTime();
|
||||
|
|
@ -34,8 +34,8 @@ export const avRender = (element: Element, protyle: IProtyle, cb?: () => void) =
|
|||
<div class="av__cell" style="width: 200px"><span class="av__pulse"></span></div>
|
||||
<div class="av__cell" style="width: 200px"><span class="av__pulse"></span></div>
|
||||
</div>`;
|
||||
})
|
||||
e.firstElementChild.innerHTML = html
|
||||
});
|
||||
e.firstElementChild.innerHTML = html;
|
||||
}
|
||||
const left = e.querySelector(".av__scroll")?.scrollLeft || 0;
|
||||
const headerTransform = (e.querySelector(".av__row--header") as HTMLElement)?.style.transform;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue