Skip to content

Commit

Permalink
Fix key events with Chrome + jQuery 1.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rossj committed Aug 28, 2012
1 parent cf70fb6 commit 66ad3d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/bootstrap-typeahead.js
Expand Up @@ -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))
}

Expand Down

0 comments on commit 66ad3d6

Please sign in to comment.