We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aec0ab0 commit a65ecd9Copy full SHA for a65ecd9
lib/web/mage/menu.js
@@ -345,7 +345,7 @@ define([
345
ulElementWidth = target.find('ul').outerWidth(true);
346
width = target.outerWidth() * 2;
347
targetPageX = target.offset().left;
348
- rightBound = screen.width;
+ rightBound = $(window).width();
349
350
if ((ulElementWidth + width + targetPageX) > rightBound) {
351
ulElement.addClass('submenu-reverse');
0 commit comments