aboutsummaryrefslogtreecommitdiff
path: root/docs/assets/js/_src
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2014-05-22 18:38:43 -0700
committerMark Otto <[email protected]>2014-05-22 18:38:43 -0700
commit12b5d46f17a125021c5083fbc88b53a7fb86a096 (patch)
tree3eaa1045586f25bd4f9e8db2da34e8a36b98bb39 /docs/assets/js/_src
parent707b362b801d7a430c1911493a65085e81b4ee8d (diff)
downloadbootstrap-12b5d46f17a125021c5083fbc88b53a7fb86a096.tar.xz
bootstrap-12b5d46f17a125021c5083fbc88b53a7fb86a096.zip
move it to the sidebar
Diffstat (limited to 'docs/assets/js/_src')
-rw-r--r--docs/assets/js/_src/application.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/assets/js/_src/application.js b/docs/assets/js/_src/application.js
index 0a719b1f9..74556a3da 100644
--- a/docs/assets/js/_src/application.js
+++ b/docs/assets/js/_src/application.js
@@ -56,16 +56,16 @@
// theme toggler
;(function () {
var stylesheetLink = $('#bs-theme-stylesheet')
- var themeBtn = $('#bs-theme-btn')
+ var themeBtn = $('.bs-docs-theme-toggle')
themeBtn.click(function () {
var href = stylesheetLink.attr('href');
if (!href || href.indexOf('data') === 0) {
stylesheetLink.attr('href', stylesheetLink.attr('data-href'))
- themeBtn.text('Deactivate Theme')
+ themeBtn.text('Disable theme preview')
}
else {
stylesheetLink.attr('href', '')
- themeBtn.text('Activate Theme')
+ themeBtn.text('Preview theme')
}
})
})();