]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Update docs JS to prevent clicks on links with hash hrefs
authorMark Otto <otto@github.com>
Mon, 10 Jun 2013 06:45:14 +0000 (23:45 -0700)
committerMark Otto <otto@github.com>
Mon, 10 Jun 2013 06:45:14 +0000 (23:45 -0700)
docs/assets/js/application.js

index 6b06b824ebd72d870742bceca3578d85c1e87d97..db86701fb54b9efdcd014fdaded7c5fef714e81f 100644 (file)
@@ -9,7 +9,7 @@
     var $window = $(window)
 
     // Disable certain links in docs
-    $('section [href^=#]').click(function (e) {
+    $('[href=#]').click(function (e) {
       e.preventDefault()
     })