mirror of
https://github.com/devbridge/jQuery-Autocomplete.git
synced 2024-11-09 14:50:57 +00:00
Merge pull request #767 from jrochkind/focus_respects_disabled
onFocus should respect disabled
This commit is contained in:
commit
0ba256501b
@ -219,6 +219,10 @@
|
||||
onFocus: function () {
|
||||
var that = this;
|
||||
|
||||
if (that.disabled) {
|
||||
return;
|
||||
}
|
||||
|
||||
that.fixPosition();
|
||||
|
||||
if (that.el.val().length >= that.options.minChars) {
|
||||
|
Loading…
Reference in New Issue
Block a user