Adjust comment card indentation

This commit is contained in:
Helen Chong 2024-05-25 10:04:30 +08:00
parent a8045a9189
commit b28378fb66
1 changed files with 8 additions and 8 deletions

View File

@ -311,14 +311,14 @@ registerNamespace("GW.Controls", function (ns)
continue;
}
parent.insertAdjacentHTML("beforeend", `
<gw-comment-card id="${this.idKey}-cmt-${comment.ID}"
commentId="${comment.ID || ""}"
replyToId="${parentId || ""}"
commenterName="${comment["Display Name"] || ""}"
isoTimestamp="${comment.Timestamp.toISOString()}"
websiteURL="${comment.Website || ""}"
commentText="${comment.Comment || ""}"
gwCommentFormId="${this.gwCommentFormId || ""}"
<gw-comment-card id="${this.idKey}-cmt-${comment.ID}"
commentId="${comment.ID || ""}"
replyToId="${parentId || ""}"
commenterName="${comment["Display Name"] || ""}"
isoTimestamp="${comment.Timestamp.toISOString()}"
websiteURL="${comment.Website || ""}"
commentText="${comment.Comment || ""}"
gwCommentFormId="${this.gwCommentFormId || ""}"
></gw-comment-card>
`);