File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 66196619 };
66206620 }
66216621 document.addEventListener("keydown", self.showAllKeydownHandler, true);
6622- if (this.searchJumperInputKeyWords.value) {
6622+ if (cacheFilter) {
6623+ this.searchInput.value = cacheFilter;
6624+ this.searchInput.dispatchEvent(new Event("input"));
6625+ this.searchInput.focus();
6626+ this.searchInput.select();
6627+ } else if (this.searchJumperInputKeyWords.value) {
66236628 this.searchJumperInputKeyWords.focus();
66246629 this.searchJumperInputKeyWords.select();
66256630 }
74657470 } else {
74667471 this.searchJumperInputKeyWords.focus();
74677472 if (this.searchJumperInputKeyWords.value) {
7468- searchWithCurrentFilter(e);
7473+ // searchWithCurrentFilter(e);
74697474 }
74707475 saveCacheFilter();
74717476 }
77777782 if (type.classList.contains("notmatch")) return;
77787783 let typeName = type.dataset.type;
77797784 let icon = type.firstElementChild.cloneNode(true);
7785+ icon.children[0] && (icon.children[0].style.display = "none");
7786+ icon.children[1] && (icon.children[1].style.display = "");
77807787 let groupSpan = document.createElement("span");
77817788 groupSpan.appendChild(icon);
77827789 groupSpan.dataset.type = typeName;
You can’t perform that action at this time.
0 commit comments