1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-16 10:34:07 +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

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: