diff options
author | Richard Worth <rdworth@gmail.com> | 2010-03-17 12:49:27 +0000 |
---|---|---|
committer | Richard Worth <rdworth@gmail.com> | 2010-03-17 12:49:27 +0000 |
commit | a202248780868c24e43b4e4c24a8eeed051aec5d (patch) | |
tree | c6de0fbe502c9beef03e71b4219e87c43eeb8f9b /ui | |
parent | b69ba4d9b47cb4f3e58d1748aee112058f55c1d5 (diff) | |
download | jquery-ui-a202248780868c24e43b4e4c24a8eeed051aec5d.tar.gz jquery-ui-a202248780868c24e43b4e4c24a8eeed051aec5d.zip |
Remove ui-helper-hidden-accessible from correct element. See r3880 and r3892
Diffstat (limited to 'ui')
-rw-r--r-- | ui/jquery.ui.button.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/jquery.ui.button.js b/ui/jquery.ui.button.js index bce54b3af..0c2603193 100644 --- a/ui/jquery.ui.button.js +++ b/ui/jquery.ui.button.js @@ -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() ); |