diff options
author | Kouhei Sutou <kou@clear-code.com> | 2011-08-07 15:50:34 +0900 |
---|---|---|
committer | Kouhei Sutou <kou@clear-code.com> | 2011-08-07 15:50:34 +0900 |
commit | b83a2063cf69f52399816800e8801cb80e362cd6 (patch) | |
tree | cfe8168ec9d52843bfe02491ff535410044f6d32 | |
parent | e9cdd576f4327f947b00032b6d1aaa60c305c844 (diff) | |
download | jquery-ui-b83a2063cf69f52399816800e8801cb80e362cd6.tar.gz jquery-ui-b83a2063cf69f52399816800e8801cb80e362cd6.zip |
Autocomplete: ensure clear searching timeout on destroy.
-rw-r--r-- | ui/jquery.ui.autocomplete.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/jquery.ui.autocomplete.js b/ui/jquery.ui.autocomplete.js index 09c3707f0..3e0163682 100644 --- a/ui/jquery.ui.autocomplete.js +++ b/ui/jquery.ui.autocomplete.js @@ -263,6 +263,7 @@ $.widget( "ui.autocomplete", { }, _destroy: function() { + clearTimeout( this.searching ); this.element .removeClass( "ui-autocomplete-input" ) .removeAttr( "autocomplete" ) |