diff options
author | Jacob Thornton <jacobthornton@gmail.com> | 2012-01-21 08:05:16 +0400 |
---|---|---|
committer | Jacob Thornton <jacobthornton@gmail.com> | 2012-01-21 08:05:16 +0400 |
commit | 7444310c4d0a2f34c7cec66216fdf95d67a0e74d (patch) | |
tree | 2a03e551335a13c7f95d0f86ee190c0c142f59ee /docs/assets/js/application.js | |
parent | 3ed836b19888215fe5ad9539898502d203712021 (diff) |
only prevent default of links in sections
Diffstat (limited to 'docs/assets/js/application.js')
-rw-r--r-- | docs/assets/js/application.js | 2 |
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() }) |