diff options
Diffstat (limited to 'ui/jquery.ui.button.js')
-rw-r--r-- | ui/jquery.ui.button.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.button.js b/ui/jquery.ui.button.js index fd01cf750..9c26ba529 100644 --- a/ui/jquery.ui.button.js +++ b/ui/jquery.ui.button.js @@ -159,7 +159,7 @@ $.widget( "ui.button", { if ( this.type === "checkbox" || this.type === "radio" ) { this.buttonElement = $( "[for=" + this.element.attr("id") + "]" ); - this.element.hide(); + this.element.addClass('ui-helper-hidden-accessible'); var checked = this.element.is( ":checked" ); if ( checked ) { |