Remove autofocus from click handling

This commit is contained in:
Denise Walter 2023-04-10 08:06:22 -04:00
parent f73a13226f
commit 6c5ce147dd

View file

@ -14,7 +14,6 @@ button.addEventListener('click', e => {
// avoid DRY: disabling menu
const disableMenu = () => {
button.setAttribute('aria-expanded', false);
button.focus();
};
// close on escape