diff --git a/ui/widgets/autocomplete.js b/ui/widgets/autocomplete.js index 1f50a42bf19..1e1d16f5803 100644 --- a/ui/widgets/autocomplete.js +++ b/ui/widgets/autocomplete.js @@ -270,7 +270,7 @@ $.widget( "ui.autocomplete", { if ( label && String.prototype.trim.call( label ).length ) { clearTimeout( this.liveRegionTimer ); var that = this; - this.liveRegionTimer = setTimeout( function() { + this.liveRegionTimer = this._delay( function() { that.liveRegion.html( $( "
" ).text( label ) ); }, 100 ); } @@ -669,7 +669,7 @@ $.widget( "ui.autocomplete", $.ui.autocomplete, { } clearTimeout( this.liveRegionTimer ); var that = this; - this.liveRegionTimer = setTimeout( function() { + this.liveRegionTimer = this._delay( function() { that.liveRegion.html( $( "
" ).text( message ) ); }, 100 ); }