Fix checkbox selector
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user