Update meme voting

This commit is contained in:
Bruno Rybársky 2024-04-27 11:30:42 +02:00
parent a62d553190
commit 7bbbc64099

@ -677,7 +677,7 @@ async function voteMeme(memeID, isUpvote){
} }
} }
else { else {
if(memeVoteDownvoteElement.classList.contains("ri-arrow-up-circle-fill")){ if(memeVoteDownvoteElement.classList.contains("ri-arrow-down-circle-fill")){
deleteVoteMeme(memeID); deleteVoteMeme(memeID);
memeVoteDelete = true; memeVoteDelete = true;
} }