Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Thornton <jacobthornton@gmail.com>2012-01-21 08:05:16 +0400
committerJacob Thornton <jacobthornton@gmail.com>2012-01-21 08:05:16 +0400
commit7444310c4d0a2f34c7cec66216fdf95d67a0e74d (patch)
tree2a03e551335a13c7f95d0f86ee190c0c142f59ee /docs/assets/js/application.js
parent3ed836b19888215fe5ad9539898502d203712021 (diff)
only prevent default of links in sections
Diffstat (limited to 'docs/assets/js/application.js')
-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 0e14a53508..ba5a269475 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()
})