Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <markdotto@gmail.com>2016-12-25 01:29:41 +0300
committerMark Otto <markdotto@gmail.com>2016-12-25 01:29:41 +0300
commitcd18ee8af693755798eb9d20dfc82a350996c04b (patch)
treec2ff8517fc41688230f15aa978e3f903289c27d3 /js/dist/carousel.js
parent43ef8b129e6a2d74408b22d55c213d781f9e929a (diff)
grunt
Diffstat (limited to 'js/dist/carousel.js')
-rw-r--r--js/dist/carousel.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/js/dist/carousel.js b/js/dist/carousel.js
index b0af32d6bd..7521844ea8 100644
--- a/js/dist/carousel.js
+++ b/js/dist/carousel.js
@@ -234,13 +234,14 @@ var Carousel = function ($) {
if (/input|textarea/i.test(event.target.tagName)) {
return;
}
- event.preventDefault();
switch (event.which) {
case ARROW_LEFT_KEYCODE:
+ event.preventDefault();
this.prev();
break;
case ARROW_RIGHT_KEYCODE:
+ event.preventDefault();
this.next();
break;
default: