summaryrefslogtreecommitdiff
path: root/jakob/utils/comments.scm
diff options
context:
space:
mode:
authorJakob L. Kreuze <zerodaysfordays@sdf.org>2026-02-16 19:00:16 -0500
committerJakob L. Kreuze <zerodaysfordays@sdf.org>2026-02-16 19:00:16 -0500
commit3330177ae946da9f347f9ac95ac14025f578a089 (patch)
tree727a4864dacab0599fcc983ec80ae2d5bd0975ff /jakob/utils/comments.scm
parent06bc7adb5e5daa152497efa2fec07334a0126398 (diff)
Fix comment reactions
Diffstat (limited to 'jakob/utils/comments.scm')
-rw-r--r--jakob/utils/comments.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/jakob/utils/comments.scm b/jakob/utils/comments.scm
index 15824b1..06c15b5 100644
--- a/jakob/utils/comments.scm
+++ b/jakob/utils/comments.scm
@@ -159,7 +159,9 @@
`(span (@ (class "reaction")) ,(format #f "~a ~a" emote count))))
(comment-reactions comment))
(button (@ (class "add-reaction") (hidden #t)
- (aria-label "Add reaction")) "+")))
+ (aria-label "Add reaction")
+ (data-reply-to-id ,(internal-comment-id comment)))
+ "+")))
'())
,@(if (and (not reply?)
(internal-comment? comment)