From f1f93287f5b256e2fc2b9619a4203e2e81903fb9 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Wed, 3 May 2023 14:10:46 +0800 Subject: [PATCH] :memo: https://github.com/siyuan-note/siyuan/issues/7785 --- app/src/protyle/wysiwyg/transaction.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/protyle/wysiwyg/transaction.ts b/app/src/protyle/wysiwyg/transaction.ts index 9b34593d2..de5f69995 100644 --- a/app/src/protyle/wysiwyg/transaction.ts +++ b/app/src/protyle/wysiwyg/transaction.ts @@ -128,7 +128,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.contentElement.scrollHeight - protyle.contentElement.scrollTop < protyle.contentElement.clientHeight * 2) { + protyle.contentElement.scrollHeight - protyle.contentElement.scrollTop < protyle.contentElement.clientHeight * 2 // https://github.com/siyuan-note/siyuan/issues/7785 + ) { fetchPost("/api/filetree/getDoc", { id: protyle.wysiwyg.element.lastElementChild.getAttribute("data-node-id"), mode: 2,