Fix checkbox selector

This commit is contained in:
Eston Bond
2010-12-13 14:07:48 -08:00
parent 6a60bd9544
commit d934ed9d80
@@ -49,7 +49,12 @@ $(document).ready(function() {
}
if ($('#wiki-wrapper').hasClass('history')) {
$('#wiki-history td.checkbox input').click(highlightChecked);
$('#wiki-history td.checkbox input').each(function() {
$(this).click(highlightChecked);
if ( $(this).is(':checked') ) {
nodeSelector.checkNode($(this));
}
});
if ($('.history a.action-compare-revision').length) {
$('.history a.action-compare-revision').click(function() {