Commit 47b59b20c81fcca944afc6a8c33146913058b5ef

Authored by Victor Costa
1 parent 3cf0e32c

comment_group: small fix in macro js

plugins/comment_group/public/comment_group_macro.js
... ... @@ -5,7 +5,7 @@ jQuery(document).ready(function($) {
5 5  
6 6 var val = anchor.split('-'); //anchor format = #comment-\d+
7 7 if(val.length!=2 || val[0]!='#comment') return;
8   - if($('div[data-macro=comment_group_plugin/allow_comment]').length==0) return; //comment_group_plugin/allow_comment div must exists
  8 + if($('div[data-macro=comment_group_plugin\\/allow_comment]').length==0) return; //comment_group_plugin/allow_comment div must exists
9 9 var comment_id = val[1];
10 10 if(!/^\d+$/.test(comment_id)) return; //test for integer
11 11  
... ...