From 25b748f04911262826d0a0bc9609e03ee47c3232 Mon Sep 17 00:00:00 2001 From: winter Date: Tue, 14 Jan 2025 18:13:57 +0000 Subject: add interaction counters --- templates/interaction_button.php | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'templates/interaction_button.php') diff --git a/templates/interaction_button.php b/templates/interaction_button.php index 9115435..edd1a25 100644 --- a/templates/interaction_button.php +++ b/templates/interaction_button.php @@ -10,6 +10,13 @@ $icon = match ($action) { 'dislike' => 'heart_broken', 'reshare' => $active ? 'repeat_on' : 'repeat' }; +$id = "interactButton-$action-$note->id"; ?> - \ No newline at end of file +