Skip to content

Commit 74b84f8

Browse files
committed
review: small patchwork
1 parent 317c83d commit 74b84f8

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/examples/moreExamples.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ export default class MoreExamples {
128128
MoreExamples.moreExamplesSearch.addEventListener("input", () => {
129129
MoreExamples.searchExamples(MoreExamples.moreExamplesSearch.value);
130130
MoreExamples.autoCompleteSelectedIndex = -1;
131+
MoreExamples.moreExamplesSearch.setAttribute("aria-activedescendant", "");
131132
if (!MoreExamples.autoCompleteVisible) {
132133
MoreExamples.moreExamplesAutoComplete.classList.remove(
133134
"hidden"

src/components/navbar/nestedDropdown.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,6 @@ export default class NestedDropdown {
138138
if (this.open) {
139139
this.close();
140140
this.open = false;
141-
this.open = false;
142141
return;
143142
}
144143
// set focus to file button

0 commit comments

Comments
 (0)