1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-13 09:04:14 +02:00
This commit is contained in:
Mark Otto
2016-11-26 11:16:53 -08:00
parent 73a320a27f
commit c7b8451cdc
24 changed files with 116 additions and 35 deletions

2
js/dist/button.js vendored
View File

@@ -82,7 +82,7 @@ var Button = function ($) {
if (triggerChangeEvent) {
input.checked = !$(this._element).hasClass(ClassName.ACTIVE);
$(this._element).trigger('change');
$(input).trigger('change');
}
input.focus();

File diff suppressed because one or more lines are too long

3
js/dist/carousel.js vendored
View File

@@ -225,11 +225,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:

File diff suppressed because one or more lines are too long