set initial comment toggle icon

pull/510/head
Simon 11 months ago
parent e893dc3b24
commit 375e1a2100
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4

@ -1201,7 +1201,7 @@ function writeComments(allComments) {
function createReplyButton(replyId, totalReplies) {
let replyButton = document.createElement('button');
replyButton.innerHTML = `<span id="toggle-icon">+</span> ${totalReplies} replies`;
replyButton.innerHTML = `<span id="toggle-icon"></span> ${totalReplies} replies`;
replyButton.setAttribute('data-id', replyId);
replyButton.setAttribute('onclick', 'toggleCommentReplies(this)');
return replyButton;

Loading…
Cancel
Save