Explorar o código

HUE-866 [beeswax] Next/Previous buttons are half hidden

Fixed jHueTableScroller plugin to include margins of elements
Enrico Berti %!s(int64=13) %!d(string=hai) anos
pai
achega
21a6f2a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      desktop/core/static/js/Source/jHue/jquery.tablescroller.js

+ 1 - 1
desktop/core/static/js/Source/jHue/jquery.tablescroller.js

@@ -34,7 +34,7 @@
             $(el).css("overflow-y", "").css("height", "");
             var heightAfter = 0;
             $(el).nextAll(":visible").each(function () {
-                heightAfter += $(this).outerHeight();
+                heightAfter += $(this).outerHeight(true);
             });
             if ($(el).height() > ($(window).height() - $(el).offset().top - heightAfter)) {
                 $(el).css("overflow-y", "auto").height($(window).height() - $(el).offset().top - heightAfter);