]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
remove js anchor interference
authorfat <jacobthornton@gmail.com>
Sun, 4 Aug 2013 22:45:27 +0000 (15:45 -0700)
committerfat <jacobthornton@gmail.com>
Sun, 4 Aug 2013 22:45:27 +0000 (15:45 -0700)
assets/css/docs.css
assets/js/application.js

index 56b5d1f3903b798f9e96360b06b4fedfa605fc31..154596b3eb0e5ca2d69bc0ee13f8203b0fe4ad5a 100644 (file)
@@ -878,7 +878,6 @@ input.focused {
     width: 330px !important;
     min-height: 132px;
   }
-
 }
 
 /* Large desktops and up */
index 54f9455f7028a493aa109c2bf6717bd1e81b7c19..48c32681e50549cb0b8d05afc23eebe72b9638a2 100644 (file)
       e.preventDefault()
     })
 
-    $body.on('click', '.bs-sidenav [href^=#]', function (e) {
-      var $target = $(this.getAttribute('href'))
-
-      e.preventDefault() // prevent browser scroll
-
-      $window.scrollTop($target.offset().top - navHeight + 5)
-    })
-
     // back to top
     setTimeout(function () {
       var $sideBar = $('.bs-sidebar')