mirror of
https://github.com/devbridge/jQuery-Autocomplete.git
synced 2024-11-25 14:17:45 +00:00
Merge pull request #275 from danielgroves/patch-firefox-android
Fix for Firefox Android not updating
This commit is contained in:
commit
f2e13bdb5b
@ -196,6 +196,7 @@
|
|||||||
that.el.on('blur.autocomplete', function () { that.onBlur(); });
|
that.el.on('blur.autocomplete', function () { that.onBlur(); });
|
||||||
that.el.on('focus.autocomplete', function () { that.onFocus(); });
|
that.el.on('focus.autocomplete', function () { that.onFocus(); });
|
||||||
that.el.on('change.autocomplete', function (e) { that.onKeyUp(e); });
|
that.el.on('change.autocomplete', function (e) { that.onKeyUp(e); });
|
||||||
|
that.el.on('input.autocomplete', function (e) { that.onKeyUp(e); });
|
||||||
},
|
},
|
||||||
|
|
||||||
onFocus: function () {
|
onFocus: function () {
|
||||||
@ -670,7 +671,7 @@
|
|||||||
html += '<div class="' + className + '" data-index="' + i + '">' + formatResult(suggestion, value) + '</div>';
|
html += '<div class="' + className + '" data-index="' + i + '">' + formatResult(suggestion, value) + '</div>';
|
||||||
});
|
});
|
||||||
|
|
||||||
this.adjustContainerWidth();
|
this.adjustContainerWidth();
|
||||||
|
|
||||||
noSuggestionsContainer.detach();
|
noSuggestionsContainer.detach();
|
||||||
container.html(html);
|
container.html(html);
|
||||||
|
Loading…
Reference in New Issue
Block a user