Commit 4f793752 authored by Mark Otto's avatar Mark Otto

temporarily undo @fat's scrollspy enhancement since it fucks firefox and ie

parent 939c9590
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
$(document.body).on('click', '.bs-sidenav [href^=#]', function (e) { $(document.body).on('click', '.bs-sidenav [href^=#]', function (e) {
var $target = $(this.getAttribute('href')) var $target = $(this.getAttribute('href'))
e.preventDefault() // prevent browser scroll // e.preventDefault() // prevent browser scroll
document.body.scrollTop = document.body.scrollTop =
$target.offset().top - $target.offset().top -
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment