rebase on oct-10-2023
This commit is contained in:
@@ -53,7 +53,7 @@ window.addEventListener('load', () => {
|
||||
const toggle = block.querySelector('[aria-expanded="true"]');
|
||||
closeSubmenus(block); // Focus the submenu trigger so focus does not get trapped in the closed submenu.
|
||||
|
||||
toggle === null || toggle === void 0 ? void 0 : toggle.focus();
|
||||
toggle?.focus();
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user