diff options
| author | billy gates <[email protected]> | 2012-12-07 14:16:51 -0800 |
|---|---|---|
| committer | billy gates <[email protected]> | 2012-12-07 14:16:51 -0800 |
| commit | c362e726608388141d7c0fb420f98bac8ea3a4b1 (patch) | |
| tree | 5be5fde06ec9c816a0cb8c8697a29bfa8ddf1da8 /js/bootstrap-typeahead.js | |
| parent | 66b70016d0f083098c32ad051173e6f52a6b2084 (diff) | |
| parent | 6ec7c72e5b5152afb676c43ea57a51fb625f9ba2 (diff) | |
| download | bootstrap-c362e726608388141d7c0fb420f98bac8ea3a4b1.tar.xz bootstrap-c362e726608388141d7c0fb420f98bac8ea3a4b1.zip | |
Merge pull request #5862 from pmclanahan/issue-5806-typeahead-keyboard-nav
Fix issue with double move event firing in typeahead.
Diffstat (limited to 'js/bootstrap-typeahead.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 9b123fb3f..387fd2a6d 100644 --- a/js/bootstrap-typeahead.js +++ b/js/bootstrap-typeahead.js @@ -217,7 +217,7 @@ } , keydown: function (e) { - this.suppressKeyPressRepeat = !~$.inArray(e.keyCode, [40,38,9,13,27]) + this.suppressKeyPressRepeat = ~$.inArray(e.keyCode, [40,38,9,13,27]) this.move(e) } |
