]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Make it so back to top link ain't broked no mo
authorMark Otto <otto@github.com>
Fri, 26 Jul 2013 07:02:20 +0000 (00:02 -0700)
committerMark Otto <otto@github.com>
Fri, 26 Jul 2013 07:02:20 +0000 (00:02 -0700)
_layouts/default.html
assets/js/application.js

index edd211665b64fa86243593aae715f6f2665f37fb..104f07f763dee7c4150cbb3a91b0da22f705867d 100644 (file)
         </div>
       </div>
 
-      <!-- Quick back to top -->
-      <a href="#" class="bs-top">
-        Back to top
-      </a>
-
     </div>
 
+    <!-- Quick back to top -->
+    <a href="#" class="bs-top">
+      Back to top
+    </a>
+
     <!-- Footer
     ================================================== -->
     <footer class="bs-footer">
index 9e6813958def70b4f08d4681c82bd8daef2fe123..48b2c70198eb30f8967415be418b8cf8c919b2b7 100644 (file)
@@ -9,7 +9,7 @@
     var $window = $(window)
 
     // Disable certain links in docs
-    $('[href=#]').click(function (e) {
+    $('.bs-docs-container [href=#]').click(function (e) {
       e.preventDefault()
     })