Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: https://github.com/siyuan-note/siyuan/pull/15731

Vanessac1f14a33d917
diff --git a/app/src/protyle/hint/index.ts b/app/src/protyle/hint/index.ts
index 9dc20f3521..ee94c3f60c 100644
--- a/app/src/protyle/hint/index.ts
+++ b/app/src/protyle/hint/index.ts
@@ -291,14 +291,6 @@ ${unicode2Emoji(emoji.unicode)}</button>`;
/// #endif
}
this.element.scrollTop = 0;
- let currentHintElement = this.element.querySelector(".b3-list-item--focus") as HTMLElement;
- if (isAbnormalItem(currentHintElement, "b3-list-item")) {
- currentHintElement.classList.remove("b3-list-item--focus");
- do {
- currentHintElement = currentHintElement.nextElementSibling as HTMLElement;
- } while (isAbnormalItem(currentHintElement, "b3-list-item"));
- currentHintElement?.classList.add("b3-list-item--focus");
- }
this.bindUploadEvent(protyle, this.element);
if (this.source !== "hint") {
const searchElement = this.element.querySelector("input.b3-text-field") as HTMLInputElement;