aboutsummaryrefslogtreecommitdiff
path: root/js/carousel.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/carousel.js')
-rw-r--r--js/carousel.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/carousel.js b/js/carousel.js
index 4e4e47797..82106d278 100644
--- a/js/carousel.js
+++ b/js/carousel.js
@@ -42,6 +42,7 @@
}
Carousel.prototype.keydown = function (e) {
+ if (/input|textarea/i.test(e.target.tagName)) return
switch (e.which) {
case 37: this.prev(); break
case 39: this.next(); break