Commit 66ad3d62 authored by Ross Johnson's avatar Ross Johnson
Browse files

Fix key events with Chrome + jQuery 1.8.0

parent cf70fb62
1 merge request!4784Fix Typeahead key navigation with Chrome + jQuery 1.8.0
Showing with 1 addition and 1 deletion
+1 -1
...@@ -174,7 +174,7 @@ ...@@ -174,7 +174,7 @@
.on('keypress', $.proxy(this.keypress, this)) .on('keypress', $.proxy(this.keypress, this))
.on('keyup', $.proxy(this.keyup, 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)) this.$element.on('keydown', $.proxy(this.keydown, this))
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment