Skip to content

Commit cf43df5

Browse files
author
Tomas Kirda
committed
Restore original input value when clicking away without making selection, fixes devbridge#408
1 parent 2c8058a commit cf43df5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/jquery.autocomplete.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,7 @@
346346
var that = this;
347347
that.stopKillSuggestions();
348348
that.intervalId = window.setInterval(function () {
349+
that.el.val(that.currentValue);
349350
that.hide();
350351
that.stopKillSuggestions();
351352
}, 50);

0 commit comments

Comments
 (0)