Commit d9ac6a80a3d99700ea8fafa296b0dcd524d44f42

Authored by Daniela Feitosa
1 parent e69c983e

Fixed syntax error on javascript

(ActionItem2596)
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();