diff options
| author | Mark Otto <[email protected]> | 2016-11-26 01:14:55 -0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2016-11-26 01:14:55 -0800 |
| commit | ce31f54c368ec7c073d8a1c2ab063461951f58eb (patch) | |
| tree | 862203f9b1854e8e9bb17c97b35673c9ca291a48 /js/src | |
| parent | bb6c197d9baeb873ad6aeb4af51632c85187d133 (diff) | |
| parent | 14ec4fdfc10a965477314078c1a9531a1d02fb8f (diff) | |
| download | bootstrap-ce31f54c368ec7c073d8a1c2ab063461951f58eb.tar.xz bootstrap-ce31f54c368ec7c073d8a1c2ab063461951f58eb.zip | |
Merge pull request #19058 from Johann-S/carouselInput
Carousel - Do not prevent on keydown for input and textarea
Diffstat (limited to 'js/src')
| -rw-r--r-- | js/src/carousel.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/js/src/carousel.js b/js/src/carousel.js index b7f3b3a7a..d85082ce5 100644 --- a/js/src/carousel.js +++ b/js/src/carousel.js @@ -232,11 +232,10 @@ const Carousel = (($) => { } _keydown(event) { - event.preventDefault() - if (/input|textarea/i.test(event.target.tagName)) { return } + event.preventDefault() switch (event.which) { case ARROW_LEFT_KEYCODE: |
