Changes between Initial Version and Version 1 of Ticket #5960, comment 2
- Timestamp:
- Jan 11, 2011, 6:12:06 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #5960, comment 2
initial v1 2 2 3 3 By the way, that workaround isn't working for me. 4 5 [EDIT] 6 7 Ok, now it works, although there is a mistake, it should be: 8 9 if(!self.element[0].checked) { 10 $( this ).removeClass( "ui-state-active" ); 11 self.buttonElement.attr( "aria-pressed", false ); 12 self.element[0].checked = false; 13 } else { 14 $( this ).addClass( "ui-state-active" ); 15 self.buttonElement.attr('aria-pressed', true); 16 self.element[0].checked = true; 17 } 18 19 its not the best but at least you won't have an active button without the active button effect.