Commit d6f86b4d73fbfc5b28bb9fc0fbb7912ec9d674c5
Exists in
master
and in
28 other branches
Merge commit 'refs/merge-requests/277' of git://gitorious.org/noosfero/noosfero …
…into merge-requests/277
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
plugins/require_auth_to_comment/public/hide_comment_form.js
1 | (function($) { | 1 | (function($) { |
2 | $(window).bind('userDataLoaded', function(event, data) { | 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 | $('.post-comment-button').show(); | 4 | $('.post-comment-button').show(); |
5 | $('#page-comment-form').show(); | 5 | $('#page-comment-form').show(); |
6 | $('.comment-footer').show(); | 6 | $('.comment-footer').show(); |