aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJacob Thornton <[email protected]>2012-01-20 20:05:16 -0800
committerJacob Thornton <[email protected]>2012-01-20 20:05:16 -0800
commit7444310c4d0a2f34c7cec66216fdf95d67a0e74d (patch)
tree2a03e551335a13c7f95d0f86ee190c0c142f59ee /docs
parent3ed836b19888215fe5ad9539898502d203712021 (diff)
downloadbootstrap-7444310c4d0a2f34c7cec66216fdf95d67a0e74d.tar.xz
bootstrap-7444310c4d0a2f34c7cec66216fdf95d67a0e74d.zip
only prevent default of links in sections
Diffstat (limited to 'docs')
-rw-r--r--docs/assets/js/application.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/assets/js/application.js b/docs/assets/js/application.js
index 0e14a5350..ba5a26947 100644
--- a/docs/assets/js/application.js
+++ b/docs/assets/js/application.js
@@ -38,7 +38,7 @@ $(function(){
// it's merely here to prevent button clicks form taking you
// away from your spot on page!!
- $('[href^=#]').click(function (e) {
+ $('section [href^=#]').click(function (e) {
e.preventDefault()
})