Use static #menus property of HoverMenuButton.
Using this.menus only worked by pure chance - the initial array was added to the prototype and so it was shared by all instances. Better make this behavior explicit.
Loading
Please register or sign in to comment