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