Update meme voting
This commit is contained in:
parent
bd24b8bdb3
commit
56de200241
@ -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