Skip to content
Permalink
Browse files

Autocomplete: We no longer need to remove aria attributes on destroy.

  • Loading branch information
scottgonzalez committed May 23, 2012
1 parent 164e46e commit d0ef9d6fb24c7f553514bf3748ddd294560bf543
Showing with 1 addition and 4 deletions.
  1. +1 −4 ui/jquery.ui.autocomplete.js
@@ -308,10 +308,7 @@ $.widget( "ui.autocomplete", {
clearTimeout( this.searching );
this.element
.removeClass( "ui-autocomplete-input" )
.removeAttr( "autocomplete" )
.removeAttr( "role" )
.removeAttr( "aria-autocomplete" )
.removeAttr( "aria-haspopup" );
.removeAttr( "autocomplete" );
this.menu.element.remove();
this.liveRegion.remove();
},

0 comments on commit d0ef9d6

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