summaryrefslogtreecommitdiffstats
path: root/ui/jquery.ui.button.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/jquery.ui.button.js')
-rw-r--r--ui/jquery.ui.button.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/ui/jquery.ui.button.js b/ui/jquery.ui.button.js
index 47007130b..40b0ee48d 100644
--- a/ui/jquery.ui.button.js
+++ b/ui/jquery.ui.button.js
@@ -73,9 +73,6 @@ $.widget( "ui.button", {
return;
}
$( this ).toggleClass( "ui-state-active" );
- self.element
- .attr( "checked", !self.element[0].checked )
- .click();
self.buttonElement.attr( "aria-pressed", self.element[0].checked );
});
} else if ( this.type === "radio") {
@@ -84,9 +81,6 @@ $.widget( "ui.button", {
return;
}
$( this ).addClass( "ui-state-active" );
- self.element
- .attr( "checked", true )
- .click();
self.buttonElement.attr( "aria-pressed", true );
var radio = self.element[ 0 ],