aboutsummaryrefslogtreecommitdiff
path: root/docs/dist/js/bootstrap.js
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2016-11-26 11:16:53 -0800
committerMark Otto <[email protected]>2016-11-26 11:16:53 -0800
commitc7b8451cdcd4930ba58af27a51d4247d1114a59b (patch)
tree2cb8f1caca7d9c3375999eeff435adf295eaf2ff /docs/dist/js/bootstrap.js
parent73a320a27fc2c442af032390e426501b7a41a0e6 (diff)
downloadbootstrap-c7b8451cdcd4930ba58af27a51d4247d1114a59b.tar.xz
bootstrap-c7b8451cdcd4930ba58af27a51d4247d1114a59b.zip
grunt
Diffstat (limited to 'docs/dist/js/bootstrap.js')
-rw-r--r--docs/dist/js/bootstrap.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/docs/dist/js/bootstrap.js b/docs/dist/js/bootstrap.js
index 4731cd691..35c22c59b 100644
--- a/docs/dist/js/bootstrap.js
+++ b/docs/dist/js/bootstrap.js
@@ -437,7 +437,7 @@ var Button = function ($) {
if (triggerChangeEvent) {
input.checked = !$(this._element).hasClass(ClassName.ACTIVE);
- $(this._element).trigger('change');
+ $(input).trigger('change');
}
input.focus();
@@ -741,11 +741,10 @@ var Carousel = function ($) {
};
Carousel.prototype._keydown = function _keydown(event) {
- event.preventDefault();
-
if (/input|textarea/i.test(event.target.tagName)) {
return;
}
+ event.preventDefault();
switch (event.which) {
case ARROW_LEFT_KEYCODE: