aboutsummaryrefslogtreecommitdiff
path: root/docs/assets/js/src/application.js
diff options
context:
space:
mode:
Diffstat (limited to 'docs/assets/js/src/application.js')
-rw-r--r--docs/assets/js/src/application.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/assets/js/src/application.js b/docs/assets/js/src/application.js
index 444b69b5c..529b0c1b8 100644
--- a/docs/assets/js/src/application.js
+++ b/docs/assets/js/src/application.js
@@ -3,7 +3,7 @@
// ++++++++++++++++++++++++++++++++++++++++++
/*!
- * JavaScript for Bootstrap's docs (http://getbootstrap.com)
+ * JavaScript for Bootstrap's docs (https://getbootstrap.com)
* Copyright 2011-2016 The Bootstrap Authors
* Copyright 2011-2016 Twitter, Inc.
* Licensed under the Creative Commons Attribution 3.0 Unported License. For
@@ -33,7 +33,7 @@
$('.bd-example-indeterminate [type="checkbox"]').prop('indeterminate', true)
// Disable empty links in docs examples
- $('.bd-example [href="#"]').click(function (e) {
+ $('.bd-content [href="#"]').click(function (e) {
e.preventDefault()
})
@@ -73,7 +73,8 @@
})
clipboard.on('error', function (e) {
- var fallbackMsg = /Mac/i.test(navigator.userAgent) ? 'Press \u2318 to copy' : 'Press Ctrl-C to copy'
+ var modifierKey = /Mac/i.test(navigator.userAgent) ? '\u2318' : 'Ctrl-'
+ var fallbackMsg = 'Press ' + modifierKey + 'C to copy'
$(e.trigger)
.attr('title', fallbackMsg)