Commit 1941721b92c350644c6551660e088de5bba0c0fc
1 parent
d840fab9
Exists in
staging
and in
42 other branches
Fix require_auth_to_comment show/hide behavior of comment button
Showing
2 changed files
with
2 additions
and
8 deletions
Show diff stats
plugins/require_auth_to_comment/public/hide_comment_form.js
1 | 1 | (function($) { |
2 | 2 | $(window).bind('userDataLoaded', function(event, data) { |
3 | 3 | if (data.login || $('meta[name="profile.allow_unauthenticated_comments"]').length > 0) { |
4 | - $('.post-comment-button').livequery(function() { | |
5 | - $(this).show(); | |
6 | - }); | |
7 | - $('.page-comment-form').livequery(function() { | |
8 | - $(this).show(); | |
9 | - }); | |
10 | - $('.comment-footer').livequery(function() { | |
4 | + $('.post-comment-button, .page-comment-form, .comment-footer, .display-comment-form').livequery(function() { | |
11 | 5 | $(this).show(); |
12 | 6 | }); |
13 | 7 | } | ... | ... |
plugins/require_auth_to_comment/public/style.css