Skip to content
Permalink
Browse files

Autocomplete: Only remove classes actually added by the widget, ui-wi…

…dget etc. aren't added, so don't remove them
  • Loading branch information
jzaefferer committed Mar 26, 2010
1 parent 40e3637 commit 6d9caf1e230b7b9a4291a8e3525eefad2f08b6f8
Showing with 1 addition and 1 deletion.
  1. +1 −1 ui/jquery.ui.autocomplete.js
@@ -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" )

0 comments on commit 6d9caf1

Please sign in to comment.
You can’t perform that action at this time.