Skip to content

Commit

Permalink
skip "custom" dropdowns in attachOneDropdownAria
Browse files Browse the repository at this point in the history
  • Loading branch information
wxiaoguang committed Mar 14, 2023
1 parent 1fce62b commit 86ef1f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web_src/js/features/aria.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ function generateAriaId() {
}

function attachOneDropdownAria($dropdown) {
if ($dropdown.attr('data-aria-attached')) return;
if ($dropdown.attr('data-aria-attached') || $dropdown.hasClass('custom')) return;
$dropdown.attr('data-aria-attached', 1);

// Dropdown has 2 different focusing behaviors
Expand Down

0 comments on commit 86ef1f9

Please sign in to comment.