shithub: hugo

Download patch

ref: 8d3fa7ef49bf6ee37071c104616a43f63813a8cb
parent: aa42f4309c3c40b4449f2574df06c519dff73016
author: spf13 <[email protected]>
date: Mon Jun 30 19:39:21 EDT 2014

Getting rid of bad scrollbar

--- a/docs/layouts/partials/footer.html
+++ b/docs/layouts/partials/footer.html
@@ -19,8 +19,6 @@
     <!-- javascripts -->
     <script src="/js/jquery.js"></script>
     <script src="/js/bootstrap.min.js"></script>
-    <script src="/js/jquery.scrollTo.min.js"></script>
-    <script src="/js/jquery.nicescroll.js" type="text/javascript"></script>
     <!--custom script for all page-->
     <script src="/js/highlight.pack.js"></script>
     <script>hljs.initHighlightingOnLoad();</script>
--- a/docs/static/js/scripts.js
+++ b/docs/static/js/scripts.js
@@ -6,14 +6,6 @@
     //popovers
     jQuery('.popovers').popover();
 
-    //custom scrollbar
-        //for html
-    jQuery("html").niceScroll({styler:"fb",cursorcolor:"#007AFF", cursorwidth: '6', cursorborderradius: '10px', background: '#F7F7F7', cursorborder: '', zindex: '1000'});
-        //for sidebar
-    jQuery("#sidebar").niceScroll({styler:"fb",cursorcolor:"#007AFF", cursorwidth: '3', cursorborderradius: '10px', background: '#F7F7F7', cursorborder: ''});
-        // for scroll panel
-    jQuery(".scroll-panel").niceScroll({styler:"fb",cursorcolor:"#007AFF", cursorwidth: '3', cursorborderradius: '10px', background: '#F7F7F7', cursorborder: ''});
-
     //sidebar dropdown menu
     jQuery('#sidebar .sub-menu > a').click(function () {
         var last = jQuery('.sub-menu.open', jQuery('#sidebar'));