From 7bbbc64099f48bf9cbcb4e927b6019fe8b9aae3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Sat, 27 Apr 2024 11:30:42 +0200 Subject: [PATCH] Update meme voting --- assets/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/script.js b/assets/script.js index 219292a..67cd1e6 100644 --- a/assets/script.js +++ b/assets/script.js @@ -677,7 +677,7 @@ async function voteMeme(memeID, isUpvote){ } } else { - if(memeVoteDownvoteElement.classList.contains("ri-arrow-up-circle-fill")){ + if(memeVoteDownvoteElement.classList.contains("ri-arrow-down-circle-fill")){ deleteVoteMeme(memeID); memeVoteDelete = true; }