From 77a4aa107ce61bda1d960e7bcca82b54670da2d6 Mon Sep 17 00:00:00 2001 From: mistic100 Date: Thu, 20 Sep 2012 15:17:38 +0000 Subject: minor fix: comments where not correctly highlighted git-svn-id: http://piwigo.org/svn/trunk@18064 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/themes/default/template/comments.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'admin/themes') 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 () { -- cgit v1.2.3