Skip to content

Commit 66ad3d6

Browse files
committed
Fix key events with Chrome + jQuery 1.8.0
1 parent cf70fb6 commit 66ad3d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/bootstrap-typeahead.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@
174174
.on('keypress', $.proxy(this.keypress, this))
175175
.on('keyup', $.proxy(this.keyup, this))
176176

177-
if ($.browser.webkit || $.browser.msie) {
177+
if ($.browser.chrome || $.browser.webkit || $.browser.msie) {
178178
this.$element.on('keydown', $.proxy(this.keydown, this))
179179
}
180180

0 commit comments

Comments
 (0)