AntonLV 5 лет назад
Родитель
Сommit
ea3705be09
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      inc/js/classes/BxDolMenuMoreAuto.js

+ 2 - 2
inc/js/classes/BxDolMenuMoreAuto.js

@@ -45,8 +45,8 @@ BxDolMenuMoreAuto.prototype.init = function() {
     });
 
     var iParent = oMenu.parent().width();
-    var iItemMore = oItemMore.outerWidth(true);
-
+    var iItemMore = $this._getWidth(oItemMore);
+        
     oMenu.css('overflow', 'visible');
 
     if(iMenu >= iParent || this._bStaticMode)