mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Autocomplete: We no longer need to remove aria attributes on destroy.
This commit is contained in:
parent
164e46e9aa
commit
d0ef9d6fb2
5
ui/jquery.ui.autocomplete.js
vendored
5
ui/jquery.ui.autocomplete.js
vendored
@ -308,10 +308,7 @@ $.widget( "ui.autocomplete", {
|
|||||||
clearTimeout( this.searching );
|
clearTimeout( this.searching );
|
||||||
this.element
|
this.element
|
||||||
.removeClass( "ui-autocomplete-input" )
|
.removeClass( "ui-autocomplete-input" )
|
||||||
.removeAttr( "autocomplete" )
|
.removeAttr( "autocomplete" );
|
||||||
.removeAttr( "role" )
|
|
||||||
.removeAttr( "aria-autocomplete" )
|
|
||||||
.removeAttr( "aria-haspopup" );
|
|
||||||
this.menu.element.remove();
|
this.menu.element.remove();
|
||||||
this.liveRegion.remove();
|
this.liveRegion.remove();
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user