diff options
| author | Ross Johnson <[email protected]> | 2012-08-28 00:55:56 -0500 |
|---|---|---|
| committer | Ross Johnson <[email protected]> | 2012-08-28 00:55:56 -0500 |
| commit | 66ad3d62c668710b4a2c98f0f3b91a4d5a5bb55c (patch) | |
| tree | 2118ac368fda30530a075920421b71ad2f04fd92 | |
| parent | cf70fb629fdef6659c76255204f4498141278517 (diff) | |
| download | bootstrap-66ad3d62c668710b4a2c98f0f3b91a4d5a5bb55c.tar.xz bootstrap-66ad3d62c668710b4a2c98f0f3b91a4d5a5bb55c.zip | |
Fix key events with Chrome + jQuery 1.8.0
| -rw-r--r-- | js/bootstrap-typeahead.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/bootstrap-typeahead.js b/js/bootstrap-typeahead.js index 65b1ddab1..421cabb01 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)) } |
