]> source.dussan.org Git - jquery-ui.git/commitdiff
Autocomplete: Only remove classes actually added by the widget, ui-widget etc. aren...
authorjzaefferer <joern.zaefferer@gmail.com>
Fri, 26 Mar 2010 16:42:03 +0000 (12:42 -0400)
committerjzaefferer <joern.zaefferer@gmail.com>
Fri, 26 Mar 2010 16:42:03 +0000 (12:42 -0400)
ui/jquery.ui.autocomplete.js

index eb07b4a4ed8b0f22c618f5ecca4f28693fd756e0..a1d798c5980577d4295ce35a9b7c98e7c2f73c32 100644 (file)
@@ -140,7 +140,7 @@ $.widget( "ui.autocomplete", {
 
        destroy: function() {
                this.element
-                       .removeClass( "ui-autocomplete-input ui-widget ui-widget-content" )
+                       .removeClass( "ui-autocomplete-input" )
                        .removeAttr( "autocomplete" )
                        .removeAttr( "role" )
                        .removeAttr( "aria-autocomplete" )