From 56de200241535b0832a71d5aeb6ed149e1e90097 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Sat, 27 Apr 2024 12:19:35 +0200 Subject: [PATCH] Update meme voting --- lib/meme.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/meme.php b/lib/meme.php index 12484d5..3131617 100644 --- a/lib/meme.php +++ b/lib/meme.php @@ -36,7 +36,7 @@ function renderMeme(int $id, int $authorId, string $title, string $textContent, $meme_upvote_active = 'fill'; $meme_downvote_active = 'line'; $meme_vote_counter_class = 'positive'; - $meme_upvote_button_class = 'visual-hover'; + $meme_upvote_button_class = ' visual-hover'; $meme_downvote_button_class = ''; } elseif (($meme_votes['UserVote'] < 0)) { @@ -44,7 +44,7 @@ function renderMeme(int $id, int $authorId, string $title, string $textContent, $meme_downvote_active = 'fill'; $meme_vote_counter_class = 'negative'; $meme_upvote_button_class = ''; - $meme_downvote_button_class = 'visual-hover'; + $meme_downvote_button_class = ' visual-hover'; } else { $meme_downvote_active = 'line';