aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2012-09-20 15:17:38 +0000
committermistic100 <mistic@piwigo.org>2012-09-20 15:17:38 +0000
commit77a4aa107ce61bda1d960e7bcca82b54670da2d6 (patch)
treeab1a497bc4bbac30430abed0e36a87ac9b3dd313
parentcbb971db3fa4664e4e27d031296b998defafb3fb (diff)
minor fix: comments where not correctly highlighted
git-svn-id: http://piwigo.org/svn/trunk@18064 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-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 () {