Skip to content
Permalink
Browse files

button: remove ui-helper-hidden-accessible instead of .show() on dest…

…roy. Fixes #5261 - button change events don't fire in IE 7/8
  • Loading branch information...
rdworth committed Mar 11, 2010
1 parent cef16fd commit 8cd7129f0c9a1b2332aaec6ca770ead19c845531
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 );

0 comments on commit 8cd7129

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