From 36d14b9766a9e47f848470214ee3481f415ec42f Mon Sep 17 00:00:00 2001 From: mistic100 Date: Thu, 20 Sep 2012 15:18:44 +0000 Subject: Merged revision(s) r18064 from trunk: minor fix: comments where not correctly highlighted git-svn-id: http://piwigo.org/svn/branches/2.4@18065 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/themes/default/template/comments.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'admin/themes/default') 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