Skip to content

Commit 03b9e16

Browse files
author
Oleksii Korshenko
authored
MAGETWO-87242: Bugfix/13327 ui active state not removed from previous menu item #13341
2 parents 04d90c2 + efa1251 commit 03b9e16

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/web/mage/menu.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -626,6 +626,9 @@ define([
626626
return;
627627
}
628628

629+
// remove the active state class from the siblings
630+
this.active.siblings().children('.ui-state-active').removeClass('ui-state-active');
631+
629632
this._open(newItem.parent());
630633

631634
// Delay so Firefox will not hide activedescendant change in expanding submenu from AT

0 commit comments

Comments
 (0)