diff --git a/docs/assets/js/application.js b/docs/assets/js/application.js
index 0e14a53508177f9ad62466888e31b26feff18ee1..ba5a2694759a67f4297c39fecbe38ae0146e0050 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()
   })