From 7444310c4d0a2f34c7cec66216fdf95d67a0e74d Mon Sep 17 00:00:00 2001 From: Jacob Thornton Date: Fri, 20 Jan 2012 20:05:16 -0800 Subject: [PATCH] only prevent default of links in sections --- docs/assets/js/application.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() })