diff options
author | Scott González <scott.gonzalez@gmail.com> | 2012-05-23 19:28:52 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2012-05-23 19:28:52 -0400 |
commit | d0ef9d6fb24c7f553514bf3748ddd294560bf543 (patch) | |
tree | f55f87d9a4c115dadd81218304a7dbbbc692bfe0 /ui/jquery.ui.autocomplete.js | |
parent | 164e46e9aa6b9e190979a5073cd081e6a7425c56 (diff) | |
download | jquery-ui-d0ef9d6fb24c7f553514bf3748ddd294560bf543.tar.gz jquery-ui-d0ef9d6fb24c7f553514bf3748ddd294560bf543.zip |
Autocomplete: We no longer need to remove aria attributes on destroy.
Diffstat (limited to 'ui/jquery.ui.autocomplete.js')
-rw-r--r-- | ui/jquery.ui.autocomplete.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/ui/jquery.ui.autocomplete.js b/ui/jquery.ui.autocomplete.js index ceb4a50c9..e5cc9e693 100644 --- a/ui/jquery.ui.autocomplete.js +++ b/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(); }, |