mirror of
https://github.com/devbridge/jQuery-Autocomplete.git
synced 2024-11-25 22:27:39 +00:00
Remove sniffing for Opera.
This commit is contained in:
parent
7c2121a598
commit
54f24bd098
@ -167,13 +167,7 @@
|
||||
|
||||
that.fixPosition();
|
||||
|
||||
// Opera does not like keydown:
|
||||
if (window.opera) {
|
||||
that.el.on('keypress.autocomplete', function (e) { that.onKeyPress(e); });
|
||||
} else {
|
||||
that.el.on('keydown.autocomplete', function (e) { that.onKeyPress(e); });
|
||||
}
|
||||
|
||||
that.el.on('keyup.autocomplete', function (e) { that.onKeyUp(e); });
|
||||
that.el.on('blur.autocomplete', function () { that.onBlur(); });
|
||||
that.el.on('focus.autocomplete', function () { that.fixPosition(); });
|
||||
|
Loading…
Reference in New Issue
Block a user