mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Autocomplete: Only remove classes actually added by the widget, ui-widget etc. aren't added, so don't remove them
This commit is contained in:
parent
40e3637117
commit
6d9caf1e23
2
ui/jquery.ui.autocomplete.js
vendored
2
ui/jquery.ui.autocomplete.js
vendored
@ -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" )
|
||||
|
Loading…
Reference in New Issue
Block a user