aboutsummaryrefslogtreecommitdiffstats
path: root/ui/widgets/autocomplete.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/widgets/autocomplete.js')
-rw-r--r--ui/widgets/autocomplete.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/widgets/autocomplete.js b/ui/widgets/autocomplete.js
index c5bddc074..60d326544 100644
--- a/ui/widgets/autocomplete.js
+++ b/ui/widgets/autocomplete.js
@@ -447,7 +447,7 @@ $.widget( "ui.autocomplete", {
_response: function() {
var index = ++this.requestIndex;
- return $.proxy( function( content ) {
+ return function( content ) {
if ( index === this.requestIndex ) {
this.__response( content );
}
@@ -456,7 +456,7 @@ $.widget( "ui.autocomplete", {
if ( !this.pending ) {
this._removeClass( "ui-autocomplete-loading" );
}
- }, this );
+ }.bind( this );
},
__response: function( content ) {