mirror of
https://git.vectorsigma.ru/public/tubearchivist.git
synced 2026-08-05 01:49:25 +00:00
set initial comment toggle icon
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user