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

Restore original input value when clicking away without making selection, fixes #408

This commit is contained in:
Tomas Kirda 2015-09-07 12:42:15 -05:00
parent 2c8058a15e
commit cf43df5bd1

View File

@ -346,6 +346,7 @@
var that = this;
that.stopKillSuggestions();
that.intervalId = window.setInterval(function () {
that.el.val(that.currentValue);
that.hide();
that.stopKillSuggestions();
}, 50);