aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ui/jquery.ui.button.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.button.js b/ui/jquery.ui.button.js
index 9c26ba529..f387932c3 100644
--- a/ui/jquery.ui.button.js
+++ b/ui/jquery.ui.button.js
@@ -187,7 +187,7 @@ $.widget( "ui.button", {
}
if ( this.type === "checkbox" || this.type === "radio" ) {
- this.element.show();
+ this.element.removeClass('ui-helper-hidden-accessible');
}
$.Widget.prototype.destroy.call( this );