mirror of
https://github.com/devbridge/jQuery-Autocomplete.git
synced 2024-11-22 12:55:12 +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 () {
|
onFocus: function () {
|
||||||
var that = this;
|
var that = this;
|
||||||
|
|
||||||
|
if (that.disabled) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
that.fixPosition();
|
that.fixPosition();
|
||||||
|
|
||||||
if (that.el.val().length >= that.options.minChars) {
|
if (that.el.val().length >= that.options.minChars) {
|
||||||
|
Loading…
Reference in New Issue
Block a user