aboutsummaryrefslogtreecommitdiffstats
path: root/admin/themes/default/template/comments.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'admin/themes/default/template/comments.tpl')
-rw-r--r--admin/themes/default/template/comments.tpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/themes/default/template/comments.tpl b/admin/themes/default/template/comments.tpl
index 87b75a004..67a392db7 100644
--- a/admin/themes/default/template/comments.tpl
+++ b/admin/themes/default/template/comments.tpl
@@ -13,11 +13,11 @@ jQuery(document).ready(function(){
}
jQuery(".checkComment").click(function(event) {
+ var checkbox = jQuery(this).children("input[type=checkbox]");
if (event.target.type !== 'checkbox') {
- var checkbox = jQuery(this).children("input[type=checkbox]");
jQuery(checkbox).attr('checked', !jQuery(checkbox).is(':checked'));
- highlighComments();
}
+ highlighComments();
});
jQuery("#commentSelectAll").click(function () {