x marks the spot

This commit is contained in:
Omar Najjar 2025-03-09 20:55:17 +11:00
parent 8d3e0032ce
commit 6451602002

View file

@ -2793,7 +2793,7 @@ function addCommentsToProposal(proposalCard, proposalId) {
const commentsToggle = document.createElement('button');
commentsToggle.className = 'comments-toggle';
commentsToggle.setAttribute('aria-expanded', 'false');
commentsToggle.innerHTML = '<span class="comments-toggle-icon"></span> Show comments';
commentsToggle.innerHTML = '<span class="comments-toggle-icon"></span> x comments';
const commentsContainer = document.createElement('div');
commentsContainer.className = 'comments-container';