aboutsummaryrefslogtreecommitdiff
path: root/docs/dist/js/bootstrap.js
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2016-01-01 12:37:52 -0800
committerChris Rebert <[email protected]>2016-01-01 12:37:52 -0800
commit422ed9ab48af462bf57db975e844c527cc8554a4 (patch)
tree4aa10f4619e4e4d56cde48618f4982fb500667e9 /docs/dist/js/bootstrap.js
parente9192f6de0d673275f771d160230c540ac9e3a74 (diff)
downloadbootstrap-422ed9ab48af462bf57db975e844c527cc8554a4.tar.xz
bootstrap-422ed9ab48af462bf57db975e844c527cc8554a4.zip
grunt dist docs
[ci skip]
Diffstat (limited to 'docs/dist/js/bootstrap.js')
-rw-r--r--docs/dist/js/bootstrap.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/docs/dist/js/bootstrap.js b/docs/dist/js/bootstrap.js
index c578aee58..9b34f1b0d 100644
--- a/docs/dist/js/bootstrap.js
+++ b/docs/dist/js/bootstrap.js
@@ -1,6 +1,6 @@
/*!
* Bootstrap v4.0.0-alpha.2 (http://getbootstrap.com)
- * Copyright 2011-2015 Twitter, Inc.
+ * Copyright 2011-2016 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
@@ -129,7 +129,9 @@ var Util = (function ($) {
getUID: function getUID(prefix) {
do {
+ /* eslint-disable no-bitwise */
prefix += ~ ~(Math.random() * 1000000); // "~~" acts like a faster Math.floor() here
+ /* eslint-enable no-bitwise */
} while (document.getElementById(prefix));
return prefix;
},
@@ -1616,7 +1618,7 @@ var Dropdown = (function ($) {
index++;
}
- if (! ~index) {
+ if (index < 0) {
index = 0;
}
@@ -1906,7 +1908,7 @@ var Modal = (function ($) {
$(document).off(Event.FOCUSIN) // guard against infinite focus loop
.on(Event.FOCUSIN, function (event) {
- if (_this9._element !== event.target && !$(_this9._element).has(event.target).length) {
+ if (document !== event.target && _this9._element !== event.target && !$(_this9._element).has(event.target).length) {
_this9._element.focus();
}
});