]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fix key events with Chrome + jQuery 1.8.0 4767/head
authorRoss Johnson <ross@mazira.com>
Tue, 28 Aug 2012 05:55:56 +0000 (00:55 -0500)
committerRoss Johnson <ross@mazira.com>
Tue, 28 Aug 2012 05:55:56 +0000 (00:55 -0500)
js/bootstrap-typeahead.js

index 65b1ddab14fc94800d83c76c8f6d30581e627a95..421cabb01635180f1ac19807edaa7274fbb8a530 100644 (file)
         .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))
       }