diff --git a/view/frontend/web/js/components/menu.js b/view/frontend/web/js/components/menu.js index c2aebe8..b8ed432 100644 --- a/view/frontend/web/js/components/menu.js +++ b/view/frontend/web/js/components/menu.js @@ -214,7 +214,9 @@ }, isExpanded: function () { - this.element.find(this.options.menus).find(this.options.menus).addClass('expanded'); + this.element.find(`:scope ${this.options.menus} ${this.options.menus}`) + .microtasks() + .addClass('expanded'); }, _setActiveMenu: function () {