Selaa lähdekoodia

Note horizontal splitter

Vijayakrishnan 3 vuotta sitten
vanhempi
commit
91510c5aba
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      public/js/stag-scrollbar.js

+ 1 - 1
public/js/stag-scrollbar.js

@@ -10,7 +10,7 @@
                 'stag-h-scroll-width': scrollWidth,
                 'stag-h-width': width,
             });
-            if($container.offset().top + $container.outerHeight() > $(window).height() + $(window).scrollTop()) {
+            if($container.offset().top + $container.outerHeight() > $(window).height() + $(window).scrollTop() - _bottomThreshold) {
                 stagScrollbarUI.css({
                     display: 'block',
                     left: ($container.offset().left + 4) + 'px',