diff --git a/js/mylibs/enscroll.js b/js/mylibs/enscroll.js index ee555b6..c0f769b 100644 --- a/js/mylibs/enscroll.js +++ b/js/mylibs/enscroll.js @@ -811,6 +811,10 @@ pct = $this.scrollTop() / ( this.scrollHeight - $this.height() ); handle.style.top = ( pct * ( trackHeight - handleHeight ) ) + 'px'; trackWrapper.style.display = 'block'; + + $this.removeClass('not-scrollable').addClass('scrollable'); + } else { + $this.removeClass('scrollable').addClass('not-scrollable'); } }