Skip to content

Commit 47af6c6

Browse files
Merge remote-tracking branch 'remotes/github/MAGETWO-91651' into EPAM-PR-19
2 parents 1366c36 + eb2dd92 commit 47af6c6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/web/mage/menu.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,7 @@ define([
439439

440440
event.preventDefault();
441441
target = $(event.target).closest('.ui-menu-item');
442+
target.get(0).scrollIntoView();
442443

443444
if (!target.hasClass('level-top') || !target.has('.ui-menu').length) {
444445
window.location.href = target.find('> a').attr('href');

0 commit comments

Comments
 (0)