From 96c4c8ec54508543503ae6f64564c1b4d5bed49b Mon Sep 17 00:00:00 2001 From: Larissa Reis Date: Thu, 5 Apr 2012 22:24:37 -0300 Subject: [PATCH] Hides reply button if RequireAuthPlugin is enable --- plugins/require_auth_to_comment/public/hide_comment_form.js | 1 + plugins/require_auth_to_comment/public/style.css | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/require_auth_to_comment/public/hide_comment_form.js b/plugins/require_auth_to_comment/public/hide_comment_form.js index eb92872..4fe50d4 100644 --- a/plugins/require_auth_to_comment/public/hide_comment_form.js +++ b/plugins/require_auth_to_comment/public/hide_comment_form.js @@ -3,6 +3,7 @@ if (data.login || $('meta[name=profile.allow_unauthenticated_comments]').length > 0) { $('.post-comment-button').show(); $('#page-comment-form').show(); + $('.comment-footer').show(); } }); })(jQuery); diff --git a/plugins/require_auth_to_comment/public/style.css b/plugins/require_auth_to_comment/public/style.css index 9efd5e2..2c63657 100644 --- a/plugins/require_auth_to_comment/public/style.css +++ b/plugins/require_auth_to_comment/public/style.css @@ -1,3 +1,3 @@ -.post-comment-button, #page-comment-form { +.post-comment-button, #page-comment-form, .comment-footer { display: none; } -- libgit2 0.21.2