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 018bbd5..01c5252 100644 --- a/plugins/require_auth_to_comment/public/hide_comment_form.js +++ b/plugins/require_auth_to_comment/public/hide_comment_form.js @@ -1,9 +1,15 @@ (function($) { $(window).bind('userDataLoaded', function(event, data) { if (data.login || $('meta[name=profile.allow_unauthenticated_comments]').length > 0) { - $('.post-comment-button').show(); - $('#page-comment-form').show(); - $('.comment-footer').show(); + $('.post-comment-button').livequery(function() { + $(this).show(); + }); + $('#page-comment-form').livequery(function() { + $(this).show(); + }); + $('.comment-footer').livequery(function() { + $(this).show(); + }); } }); })(jQuery); -- libgit2 0.21.2