diff options
Diffstat (limited to 'js')
-rw-r--r-- | js/bootstrap-typeahead.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/bootstrap-typeahead.js b/js/bootstrap-typeahead.js index 65b1ddab14..a90767c3b9 100644 --- a/js/bootstrap-typeahead.js +++ b/js/bootstrap-typeahead.js @@ -208,7 +208,7 @@ } , keydown: function (e) { - this.suppressKeyPressRepeat = !~[40,38,9,13,27].indexOf(e.keyCode) + this.suppressKeyPressRepeat = !~$.inArray(e.keyCode, [40,38,9,13,27]) this.move(e) } |