Commits

Georg Brandl committed 8a4b854

Deactivate sidebar-moving-content gimmick for now.

Comments (0)

Files changed (1)

Doc/tools/sphinxext/static/sidebar.js

     });
     sidebarbutton.find('span').text('«');
     sidebarbutton.attr('title', _('Collapse sidebar'));
-    sidebarwrapper.css({'padding-top':
-      Math.max(window.pageYOffset - sidebarwrapper.offset().top, 10)});
+    //sidebarwrapper.css({'padding-top':
+    //  Math.max(window.pageYOffset - sidebarwrapper.offset().top, 10)});
     document.cookie = 'sidebar=expanded';
   }