From 4d7f8450d9a842e2f69754ccaa4202710328dcb7 Mon Sep 17 00:00:00 2001 From: winter Date: Tue, 14 Jan 2025 20:44:49 +0000 Subject: add (un)follow button to profile also other stuff i forgot what exactly --- templates/reply_button.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'templates/reply_button.php') diff --git a/templates/reply_button.php b/templates/reply_button.php index aeaeabd..4162d23 100644 --- a/templates/reply_button.php +++ b/templates/reply_button.php @@ -1,9 +1,9 @@ 1 ? 'reply_all' : 'reply'; -$id = "interactButton-reply-$note->id" - ?> +$icon = $note->countReplies() > 0 ? 'reply_all' : 'reply'; +$id = "interactButton-reply-$note->id"; +?>