Commit cca5c17c authored by JC Brand's avatar JC Brand

Fix failing test due to timing issue

parent d9fcb2b4
......@@ -20,8 +20,8 @@ export class BaseDropdown extends CustomElement {
hideMenu () {
u.removeClass('show', this.menu);
this.button.setAttribute('aria-expanded', false);
this.button.blur();
this.button?.setAttribute('aria-expanded', false);
this.button?.blur();
}
showMenu () {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment