2
0
mirror of https://github.com/devbridge/jQuery-Autocomplete.git synced 2024-12-22 10:58:55 +00:00

onFocus should respect disabled

Fixes #766
This commit is contained in:
Jonathan Rochkind 2019-08-28 16:20:32 -04:00
parent 43b2953ab7
commit 1998491204

View File

@ -219,6 +219,10 @@
onFocus: function () {
var that = this;
if (that.disabled) {
return;
}
that.fixPosition();
if (that.el.val().length >= that.options.minChars) {
@ -270,7 +274,7 @@
'z-index': options.zIndex
});
this.options = options;
this.options = options;
},