Remove the comma between sub comment

feat/fix/umd
imlonghao 7 years ago
parent baf770f852
commit 437c32892d
No known key found for this signature in database
GPG Key ID: 15B26377262268C1

@ -501,10 +501,10 @@ function DisqusJS(config) {
}
})();
html += children.map((comment) => {
children.map((comment) => {
comment = processData(comment);
comment.nesting = nesting + 1;
return `<li data-id="comment-${comment.comment.id}">${renderPostItem(comment.comment)}${childrenComments(comment)}</li>`;
html += `<li data-id="comment-${comment.comment.id}">${renderPostItem(comment.comment)}${childrenComments(comment)}</li>`;
});
html += '</ul>';

Loading…
Cancel
Save