Fix toggle-comments button pressed state

This commit is contained in:
Timothée Goguely 2024-10-23 16:52:28 +02:00
parent a00d9cbff1
commit 9dcb054973
2 changed files with 5 additions and 1 deletions

View file

@ -23,7 +23,7 @@
/>
<button
id="toggle-comments"
aria-pressed="false"
:aria-pressed="isCommentsOpen"
class="btn btn--transparent"
data-icon="comment"
@click="isCommentsOpen = !isCommentsOpen"