Update meme voting
This commit is contained in:
parent
56de200241
commit
00c84717df
@ -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';
|
||||
|
Loading…
Reference in New Issue
Block a user