diff options
author | mistic100 <mistic@piwigo.org> | 2012-09-20 15:18:44 +0000 |
---|---|---|
committer | mistic100 <mistic@piwigo.org> | 2012-09-20 15:18:44 +0000 |
commit | 36d14b9766a9e47f848470214ee3481f415ec42f (patch) | |
tree | d818edddbc400a3fe609808df167cd5f31dd31ed /admin/themes/default/template/comments.tpl | |
parent | 8ec14404d1ea316960e6c45971f2c05045bf6822 (diff) |
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
Diffstat (limited to '')
-rw-r--r-- | admin/themes/default/template/comments.tpl | 4 |
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 () { |