Skip to content

Commit efa1251

Browse files
author
Oleksii Korshenko
committed
MAGETWO-87242: Bugfix/13327 ui active state not removed from previous menu item magento#13341
- Merge Pull Request magento#13341 from mediact/magento2:bugfix/13327-ui-active-state-not-removed-from-previous-menu-item - Merged commits: 1. 5714ffd 2. 5773225
2 parents ae5e8df + 5773225 commit efa1251

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/web/mage/menu.js

+3
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)