Permalink
Browse files

Fix key events with Chrome + jQuery 1.8.0

  • Loading branch information...
rossj committed Aug 28, 2012
1 parent cf70fb6 commit 66ad3d62c668710b4a2c98f0f3b91a4d5a5bb55c
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/bootstrap-typeahead.js
@@ -174,7 +174,7 @@
.on('keypress', $.proxy(this.keypress, this))
.on('keyup', $.proxy(this.keyup, this))
- if ($.browser.webkit || $.browser.msie) {
+ if ($.browser.chrome || $.browser.webkit || $.browser.msie) {
this.$element.on('keydown', $.proxy(this.keydown, this))
}

0 comments on commit 66ad3d6

Please sign in to comment.