Commit db0170f1a23a1c2ba16d9a1c8e0d030d696ba048
1 parent
2d698f0b
Exists in
master
and in
29 other branches
Fix syntax error on expression
Showing
1 changed file
with
2 additions
and
2 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 | - if (data.login || $('meta[name=profile.allow_unauthenticated_comments]').length > 0) { | |
3 | + if (data.login || $('meta[name="profile.allow_unauthenticated_comments"]').length > 0) { | |
4 | 4 | $('.post-comment-button').livequery(function() { |
5 | 5 | $(this).show(); |
6 | 6 | }); |
... | ... | @@ -8,7 +8,7 @@ |
8 | 8 | $(this).show(); |
9 | 9 | }); |
10 | 10 | $('.comment-footer').livequery(function() { |
11 | - $(this).show(); | |
11 | + $(this).show(); | |
12 | 12 | }); |
13 | 13 | } |
14 | 14 | }); | ... | ... |