mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Remove ui-helper-hidden-accessible from correct element. See r3880 and r3892
This commit is contained in:
parent
b69ba4d9b4
commit
a202248780
4
ui/jquery.ui.button.js
vendored
4
ui/jquery.ui.button.js
vendored
@ -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() );
|
||||
|
Loading…
Reference in New Issue
Block a user