diff options
| author | Mark Otto <[email protected]> | 2016-11-26 11:16:53 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2016-11-26 11:16:53 -0800 |
| commit | c7b8451cdcd4930ba58af27a51d4247d1114a59b (patch) | |
| tree | 2cb8f1caca7d9c3375999eeff435adf295eaf2ff /docs/dist/js/bootstrap.js | |
| parent | 73a320a27fc2c442af032390e426501b7a41a0e6 (diff) | |
| download | bootstrap-c7b8451cdcd4930ba58af27a51d4247d1114a59b.tar.xz bootstrap-c7b8451cdcd4930ba58af27a51d4247d1114a59b.zip | |
grunt
Diffstat (limited to 'docs/dist/js/bootstrap.js')
| -rw-r--r-- | docs/dist/js/bootstrap.js | 5 |
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: |
