1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-17 02:54:01 +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

View File

@@ -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:

File diff suppressed because one or more lines are too long