Bläddra i källkod

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

Fixed jHueTableScroller plugin to include margins of elements
Enrico Berti 13 år sedan
förälder
incheckning
21a6f2a96c
1 ändrade filer med 1 tillägg och 1 borttagningar
  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);