diff options
author | Richard Worth <rdworth@gmail.com> | 2010-03-11 02:13:28 +0000 |
---|---|---|
committer | Richard Worth <rdworth@gmail.com> | 2010-03-11 02:13:28 +0000 |
commit | 8cd7129f0c9a1b2332aaec6ca770ead19c845531 (patch) | |
tree | 1fa36c5c31157a9c8525d7827cbc8eeecc8dcddc /ui | |
parent | cef16fdf78eab604ebe58526e58f962c60ab9bdb (diff) | |
download | jquery-ui-8cd7129f0c9a1b2332aaec6ca770ead19c845531.tar.gz jquery-ui-8cd7129f0c9a1b2332aaec6ca770ead19c845531.zip |
button: remove ui-helper-hidden-accessible instead of .show() on destroy. Fixes #5261 - button change events don't fire in IE 7/8
Diffstat (limited to 'ui')
-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 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 ); |