Autocomplete: Fixed class removal in .destroy().

This commit is contained in:
Scott González 2010-02-23 02:59:05 +00:00
parent b26336f2d2
commit aa8f6c5fc1

View File

@ -129,7 +129,7 @@ $.widget( "ui.autocomplete", {
destroy: function() {
this.element
.removeClass( "ui-autocomplete ui-widget ui-widget-content ui-corner-all" )
.removeClass( "ui-autocomplete-input ui-widget ui-widget-content" )
.removeAttr( "autocomplete" )
.removeAttr( "role" )
.removeAttr( "aria-autocomplete" )