diff --git a/static/js/theme.js b/static/js/theme.js index 9fb4867370..bb042e9419 100644 --- a/static/js/theme.js +++ b/static/js/theme.js @@ -278,12 +278,10 @@ function initArrowNav(){ function initMenuScrollbar(){ var setMenuHeight = function (){ - $('#sidebar .highlightable').height($('#sidebar').innerHeight() - $('#header-wrapper').height() - 40); ps && ps.update(); }; var ps = new PerfectScrollbar('#sidebar .highlightable'); - setMenuHeight(); // to inform scrollbar of resizing $(window).resize(function() {