aboutsummaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.button.js
diff options
context:
space:
mode:
authorFelix Nagel <info@felixnagel.com>2012-11-28 23:29:15 +0100
committerFelix Nagel <info@felixnagel.com>2012-11-28 23:29:15 +0100
commit36533a718da41d4dc82286d2b7ff52a34481dbbb (patch)
tree481804cc832f9b8223fd243de8f6ca8dbd119fa2 /ui/jquery.ui.button.js
parent4e68c526ab464facc56e5b85ca67f4c6648d2f21 (diff)
parent37ea7341823e7dfe54f37596b1d054b8a2e5c3de (diff)
downloadjquery-ui-36533a718da41d4dc82286d2b7ff52a34481dbbb.tar.gz
jquery-ui-36533a718da41d4dc82286d2b7ff52a34481dbbb.zip
Merge branch 'master' into selectmenu
Diffstat (limited to 'ui/jquery.ui.button.js')
-rw-r--r--ui/jquery.ui.button.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/ui/jquery.ui.button.js b/ui/jquery.ui.button.js
index d6eed67dc..1108bd50c 100644
--- a/ui/jquery.ui.button.js
+++ b/ui/jquery.ui.button.js
@@ -147,8 +147,6 @@ $.widget( "ui.button", {
if ( options.disabled || clickDragged ) {
return false;
}
- $( this ).toggleClass( "ui-state-active" );
- that.buttonElement.attr( "aria-pressed", that.element[0].checked );
});
} else if ( this.type === "radio" ) {
this.buttonElement.bind( "click" + this.eventNamespace, function() {