From 00c84717df9377c02419ec1472d0d93530adaa02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Sat, 27 Apr 2024 12:20:07 +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 3131617..8f6cd69 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';