We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2449b7a commit 8dc68bfCopy full SHA for 8dc68bf
1 file changed
src/ui/ui.js
@@ -481,7 +481,9 @@ var UI = (() => {
481
temp.nextElementSibling.remove();
482
temp.remove();
483
}
484
-
+ if (customizable) {
485
+ input.setAttribute("aria-expanded", false);
486
+ }
487
presets.appendChild(clone);
488
489
@@ -761,9 +763,9 @@ var UI = (() => {
761
763
perms,
762
764
this.dirty
765
);
- for (let r of this.list.querySelectorAll(".customizing")) {
766
+ for (const r of this.list.querySelectorAll(".customizing")) {
767
r.classList.toggle("customizing", false);
- r.querySelector(".CUSTOM .preset[aria-expanded]").setAttribute("aria-expanded", false);
768
+ r.querySelector(".preset[aria-expanded=true]")?.setAttribute("aria-expanded", false);
769
770
771
if (
0 commit comments