2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-08 17:22:31 +03:00

Merge pull request #5862 from pmclanahan/issue-5806-typeahead-keyboard-nav

Fix issue with double move event firing in typeahead.
This commit is contained in:
billy gates
2012-12-07 14:16:51 -08:00
2 changed files with 19 additions and 2 deletions
+1 -1
View File
@@ -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)
}