remotes/1693045480750635534/spooky-22
Aevann1 2021-09-26 11:23:51 +02:00
parent 60a1e2279d
commit 8f57cfe170
1 changed files with 2 additions and 0 deletions

View File

@ -49,6 +49,7 @@
var thisDownvoteButton = downvoteButton[j];
var thisScoreText = scoreText[j];
var thisScore = Number(thisScoreText.textContent);
var voteDirection = "0"
if (thisUpvoteButton.classList.contains('active')) {
thisUpvoteButton.classList.remove('active')
@ -99,6 +100,7 @@
var thisDownvoteButton = downvoteButton[j];
var thisScoreText = scoreText[j];
var thisScore = Number(thisScoreText.textContent);
var voteDirection = "0"
if (thisDownvoteButton.classList.contains('active')) {
thisDownvoteButton.classList.remove('active')