aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.autocomplete.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/jquery.ui.autocomplete.js')
-rw-r--r--ui/jquery.ui.autocomplete.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/jquery.ui.autocomplete.js b/ui/jquery.ui.autocomplete.js
index 7056e07f5..b9daad86b 100644
--- a/ui/jquery.ui.autocomplete.js
+++ b/ui/jquery.ui.autocomplete.js
@@ -79,6 +79,7 @@ $.widget( "ui.autocomplete", {
self.searching = setTimeout(function() {
// only search if the value has changed
if ( self.term != self.element.val() ) {
+ self.selectedItem = null;
self.search( null, event );
}
}, self.options.delay );