From db0170f1a23a1c2ba16d9a1c8e0d030d696ba048 Mon Sep 17 00:00:00 2001 From: Braulio Bhavamitra Date: Sat, 8 Feb 2014 13:11:32 -0300 Subject: [PATCH] Fix syntax error on expression --- plugins/require_auth_to_comment/public/hide_comment_form.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/require_auth_to_comment/public/hide_comment_form.js b/plugins/require_auth_to_comment/public/hide_comment_form.js index 40ac03a..c9ba7df 100644 --- a/plugins/require_auth_to_comment/public/hide_comment_form.js +++ b/plugins/require_auth_to_comment/public/hide_comment_form.js @@ -1,6 +1,6 @@ (function($) { $(window).bind('userDataLoaded', function(event, data) { - if (data.login || $('meta[name=profile.allow_unauthenticated_comments]').length > 0) { + if (data.login || $('meta[name="profile.allow_unauthenticated_comments"]').length > 0) { $('.post-comment-button').livequery(function() { $(this).show(); }); @@ -8,7 +8,7 @@ $(this).show(); }); $('.comment-footer').livequery(function() { - $(this).show(); + $(this).show(); }); } }); -- libgit2 0.21.2