r3590 committed - Button: Removed aria-pressed attribute on destroy.
Revision: 3590
Author: scott.gonzalez
Date: Sat Jan 2 08:30:05 2010
Log: Button: Removed aria-pressed attribute on destroy.
http://code.google.com/p/jquery-ui/source/detail?r=3590
Modified:
/branches/dev/ui/jquery.ui.button.js
=======================================
--- /branches/dev/ui/jquery.ui.button.js Sat Jan 2 08:29:19 2010
+++ /branches/dev/ui/jquery.ui.button.js Sat Jan 2 08:30:05 2010
@@ -148,6 +148,7 @@
this.buttonElement
.removeClass(baseClasses + " " + otherClasses)
.removeAttr('role')
+ .removeAttr('aria-pressed')
.html(this.buttonElement.find(".ui-button-text").html());
if (this.type == 'checkbox' || this.type == 'radio') {
--