mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-03 15:28:49 +01:00
This commit is contained in:
parent
a9200fa02e
commit
f3cafc8a51
1 changed files with 2 additions and 1 deletions
|
|
@ -127,7 +127,8 @@ const promiseTransaction = () => {
|
|||
}
|
||||
// 折叠标题后未触发动态加载 https://github.com/siyuan-note/siyuan/issues/4168
|
||||
if (protyle.wysiwyg.element.lastElementChild.getAttribute("data-eof") !== "true" &&
|
||||
!protyle.scroll.element.classList.contains("fn__none")) {
|
||||
!protyle.scroll.element.classList.contains("fn__none") &&
|
||||
protyle.contentElement.scrollHeight - protyle.contentElement.scrollTop < protyle.contentElement.clientHeight * 2) {
|
||||
fetchPost("/api/filetree/getDoc", {
|
||||
id: protyle.wysiwyg.element.lastElementChild.getAttribute("data-node-id"),
|
||||
mode: 2,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue