Skip to content
Permalink
Browse files

Remove ui-helper-hidden-accessible from correct element. See r3880 an…

…d r3892
  • Loading branch information...
rdworth committed Mar 17, 2010
1 parent b69ba4d commit a202248780868c24e43b4e4c24a8eeed051aec5d
Showing with 3 additions and 1 deletion.
  1. +3 −1 ui/jquery.ui.button.js
@@ -214,8 +214,10 @@ $.widget( "ui.button", {
},

destroy: function() {
this.element
.removeClass( "ui-helper-hidden-accessible" );
this.buttonElement
.removeClass( baseClasses + " ui-helper-hidden-accessible " + otherClasses )
.removeClass( baseClasses + " " + otherClasses )
.removeAttr( "role" )
.removeAttr( "aria-pressed" )
.html( this.buttonElement.find(".ui-button-text").html() );

0 comments on commit a202248

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