Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author♒∆✝ <Jacobthornton@gmail.com>2012-09-05 07:03:04 +0400
committer♒∆✝ <Jacobthornton@gmail.com>2012-09-05 07:03:04 +0400
commit9341bb756b639ce4e44cb6297b7e15be297d511b (patch)
treed235066c2c05cb2c143ecdc44a3626b0829b54ec
parent9d890a84124e50a89f135a0ab383733d749ec34d (diff)
parentb5373d85616653ff265295d5d22c03fc9ac8af04 (diff)
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 6ceacd61dc..c2ccdea218 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))
}