Skip to content

Commit 49c46a1

Browse files
author
Mykhailo Miroshnikov
committed
MAGETWO-34476: Backend Menu JS improvements
- Restore ability to use regular links
1 parent 2f09a91 commit 49c46a1

File tree

1 file changed

+3
-1
lines changed
  • app/design/adminhtml/Magento/backend/web/js

1 file changed

+3
-1
lines changed

app/design/adminhtml/Magento/backend/web/js/theme.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,9 @@ define('globalNavigation', [
8989
var menuItem = $(e.target).closest('.level-0'),
9090
subMenu = $('> .submenu', menuItem);
9191

92-
e.preventDefault();
92+
if (subMenu.length) {
93+
e.preventDefault();
94+
}
9395

9496
menuItem
9597
.addClass('_hover _recent')

0 commit comments

Comments
 (0)