Commit d6f86b4d73fbfc5b28bb9fc0fbb7912ec9d674c5

Authored by Rodrigo Souto
2 parents 69df378d d9ac6a80

Merge commit 'refs/merge-requests/277' of git://gitorious.org/noosfero/noosfero …

…into merge-requests/277
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();