Remove autofocus from click handling
This commit is contained in:
parent
f73a13226f
commit
6c5ce147dd
1 changed files with 0 additions and 1 deletions
|
|
@ -14,7 +14,6 @@ button.addEventListener('click', e => {
|
|||
// avoid DRY: disabling menu
|
||||
const disableMenu = () => {
|
||||
button.setAttribute('aria-expanded', false);
|
||||
button.focus();
|
||||
};
|
||||
|
||||
// close on escape
|
||||
|
|
|
|||
Loading…
Reference in a new issue