]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
Carousel: Only prevents default for ARROW_LEFT and ARROW_RIGHT keys
authorMatheus Azzi <matheuslazzi@gmail.com>
Sun, 16 Oct 2016 01:55:48 +0000 (22:55 -0300)
committerBardi Harborow <bardi@bardiharborow.com>
Fri, 23 Dec 2016 06:55:40 +0000 (17:55 +1100)
commitdab6a41e049de64653c8b91c28acf212137b0452
tree081661ac6c7bad1d2a50e9533821e5f0be6f657a
parent1d6cdb65b32f918fc497953adf02b60e26ea3fec
Carousel: Only prevents default for ARROW_LEFT and ARROW_RIGHT keys

Fixes 2 bugs:

1. All keydowns were being prevented. Because of that the user wasn't able to navigate in the whole page using ARROW_UP/ARROW_DOWN.

2. Even when  is an input or textarea the keydowns were being prevented. Because of that the user wasn't able to type any text on these elements.
js/src/carousel.js
js/tests/unit/carousel.js