aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--admin/themes/default/template/configuration.tpl10
1 files changed, 5 insertions, 5 deletions
diff --git a/admin/themes/default/template/configuration.tpl b/admin/themes/default/template/configuration.tpl
index bc64a14ff..521ad40c0 100644
--- a/admin/themes/default/template/configuration.tpl
+++ b/admin/themes/default/template/configuration.tpl
@@ -253,12 +253,12 @@ jQuery(document).ready(function () {
</ul>
</fieldset>
{footer_script}{literal}
-$(document).ready(function(){
- $("#activate_comments").change(function(){
- if ($(this).attr('checked')) {
- $("#comments_param_warp").css('display', '');
+jQuery(document).ready(function(){
+ jQuery("#activate_comments").change(function(){
+ if ($(this).is(':checked')) {
+ jQuery("#comments_param_warp").show();
} else {
- $("#comments_param_warp").css('display', 'none');
+ jQuery("#comments_param_warp").hide();
}
});
});