mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Autocomplete: ensure clear searching timeout on destroy.
This commit is contained in:
parent
e9cdd576f4
commit
b83a2063cf
1
ui/jquery.ui.autocomplete.js
vendored
1
ui/jquery.ui.autocomplete.js
vendored
@ -263,6 +263,7 @@ $.widget( "ui.autocomplete", {
|
|||||||
},
|
},
|
||||||
|
|
||||||
_destroy: function() {
|
_destroy: function() {
|
||||||
|
clearTimeout( this.searching );
|
||||||
this.element
|
this.element
|
||||||
.removeClass( "ui-autocomplete-input" )
|
.removeClass( "ui-autocomplete-input" )
|
||||||
.removeAttr( "autocomplete" )
|
.removeAttr( "autocomplete" )
|
||||||
|
Loading…
Reference in New Issue
Block a user