mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-09-22 00:20:47 +02:00
This commit is contained in:
parent
adca241ed5
commit
c1f14a33d9
1 changed files with 0 additions and 8 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue