diff --git a/themes/learn2/css/.custom.css.swp b/themes/learn2/css/.custom.css.swp index ce684ab..23cb1ff 100644 Binary files a/themes/learn2/css/.custom.css.swp and b/themes/learn2/css/.custom.css.swp differ diff --git a/themes/learn2/css/custom.css b/themes/learn2/css/custom.css index d1dbc24..066d8c6 100644 --- a/themes/learn2/css/custom.css +++ b/themes/learn2/css/custom.css @@ -147,5 +147,3 @@ blockquote { .scroll-element.scroll-y { display: none !important; } - -.scrollbar-dynamic { height: 100%; overflow: auto; } diff --git a/themes/learn2/js/.learn.js.swp b/themes/learn2/js/.learn.js.swp index 5930dbd..7862f3d 100644 Binary files a/themes/learn2/js/.learn.js.swp and b/themes/learn2/js/.learn.js.swp differ diff --git a/themes/learn2/js/learn.js b/themes/learn2/js/learn.js index 9f22752..f99970a 100644 --- a/themes/learn2/js/learn.js +++ b/themes/learn2/js/learn.js @@ -83,6 +83,7 @@ $(window).resize(function() { jQuery(document).ready(function() { var sidebarStatus = searchStatus = 'open'; + jQuery('.scrollbar-inner').scrollbar(); // set the menu height setMenuHeight(); @@ -95,7 +96,6 @@ jQuery(document).ready(function() { }); //jQuery('.scrollbar-inner').scrollbar(); - jQuery('.scrollbar-dynamic').scrollbar(); jQuery('[data-sidebar-toggle]').on('click', function() { jQuery(document.body).toggleClass('sidebar-hidden');