aboutsummaryrefslogtreecommitdiffstats
path: root/admin/themes/default
diff options
context:
space:
mode:
Diffstat (limited to 'admin/themes/default')
-rw-r--r--admin/themes/default/template/comments.tpl8
1 files changed, 5 insertions, 3 deletions
diff --git a/admin/themes/default/template/comments.tpl b/admin/themes/default/template/comments.tpl
index 6f3f37c95..ae6e1b569 100644
--- a/admin/themes/default/template/comments.tpl
+++ b/admin/themes/default/template/comments.tpl
@@ -1,9 +1,11 @@
{literal}
<script>
$(document).ready(function(){
- $(".checkComment").click(function () {
- var checkbox = $(this).children("input[type=checkbox]");
- $(checkbox).attr('checked', !$(checkbox).is(':checked'));
+ $(".checkComment").click(function(event) {
+ if (event.target.type !== 'checkbox') {
+ var checkbox = $(this).children("input[type=checkbox]");
+ $(checkbox).attr('checked', !$(checkbox).is(':checked'));
+ }
});
$("#commentSelectAll").click(function () {