aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--_layouts/default.html10
-rw-r--r--assets/js/application.js2
2 files changed, 6 insertions, 6 deletions
diff --git a/_layouts/default.html b/_layouts/default.html
index edd211665..104f07f76 100644
--- a/_layouts/default.html
+++ b/_layouts/default.html
@@ -48,13 +48,13 @@
</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">
diff --git a/assets/js/application.js b/assets/js/application.js
index 9e6813958..48b2c7019 100644
--- a/assets/js/application.js
+++ b/assets/js/application.js
@@ -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()
})