From 47b59b20c81fcca944afc6a8c33146913058b5ef Mon Sep 17 00:00:00 2001 From: Victor Costa Date: Wed, 30 Jul 2014 11:30:34 -0300 Subject: [PATCH] comment_group: small fix in macro js --- plugins/comment_group/public/comment_group_macro.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/comment_group/public/comment_group_macro.js b/plugins/comment_group/public/comment_group_macro.js index de2c3c4..b18f1ff 100644 --- a/plugins/comment_group/public/comment_group_macro.js +++ b/plugins/comment_group/public/comment_group_macro.js @@ -5,7 +5,7 @@ jQuery(document).ready(function($) { var val = anchor.split('-'); //anchor format = #comment-\d+ if(val.length!=2 || val[0]!='#comment') return; - if($('div[data-macro=comment_group_plugin/allow_comment]').length==0) return; //comment_group_plugin/allow_comment div must exists + if($('div[data-macro=comment_group_plugin\\/allow_comment]').length==0) return; //comment_group_plugin/allow_comment div must exists var comment_id = val[1]; if(!/^\d+$/.test(comment_id)) return; //test for integer -- libgit2 0.21.2