aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author♒∆✝ <[email protected]>2012-09-04 20:03:04 -0700
committer♒∆✝ <[email protected]>2012-09-04 20:03:04 -0700
commit9341bb756b639ce4e44cb6297b7e15be297d511b (patch)
treed235066c2c05cb2c143ecdc44a3626b0829b54ec
parent9d890a84124e50a89f135a0ab383733d749ec34d (diff)
parentb5373d85616653ff265295d5d22c03fc9ac8af04 (diff)
downloadbootstrap-9341bb756b639ce4e44cb6297b7e15be297d511b.tar.xz
bootstrap-9341bb756b639ce4e44cb6297b7e15be297d511b.zip
Merge pull request #4784 from rossj/2.1.1-wip
Fix Typeahead key navigation with Chrome + jQuery 1.8.0
-rw-r--r--js/bootstrap-typeahead.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/bootstrap-typeahead.js b/js/bootstrap-typeahead.js
index 6ceacd61d..c2ccdea21 100644
--- a/js/bootstrap-typeahead.js
+++ b/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))
}