aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ui/jquery.ui.autocomplete.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/jquery.ui.autocomplete.js b/ui/jquery.ui.autocomplete.js
index a5d832f0a..fab9691a3 100644
--- a/ui/jquery.ui.autocomplete.js
+++ b/ui/jquery.ui.autocomplete.js
@@ -247,10 +247,10 @@ $.widget( "ui.autocomplete", {
// #6109 - IE triggers two focus events and the second
// is asynchronous, so we need to reset the previous
// term synchronously and asynchronously :-(
- setTimeout(function() {
+ this._delay(function() {
this.previous = previous;
this.selectedItem = item;
- }, 1);
+ });
}
if ( false !== this._trigger( "select", event, { item: item } ) ) {