forked from rDrama/rDrama
fds
parent
60a1e2279d
commit
8f57cfe170
|
@ -49,6 +49,7 @@
|
||||||
var thisDownvoteButton = downvoteButton[j];
|
var thisDownvoteButton = downvoteButton[j];
|
||||||
var thisScoreText = scoreText[j];
|
var thisScoreText = scoreText[j];
|
||||||
var thisScore = Number(thisScoreText.textContent);
|
var thisScore = Number(thisScoreText.textContent);
|
||||||
|
var voteDirection = "0"
|
||||||
|
|
||||||
if (thisUpvoteButton.classList.contains('active')) {
|
if (thisUpvoteButton.classList.contains('active')) {
|
||||||
thisUpvoteButton.classList.remove('active')
|
thisUpvoteButton.classList.remove('active')
|
||||||
|
@ -99,6 +100,7 @@
|
||||||
var thisDownvoteButton = downvoteButton[j];
|
var thisDownvoteButton = downvoteButton[j];
|
||||||
var thisScoreText = scoreText[j];
|
var thisScoreText = scoreText[j];
|
||||||
var thisScore = Number(thisScoreText.textContent);
|
var thisScore = Number(thisScoreText.textContent);
|
||||||
|
var voteDirection = "0"
|
||||||
|
|
||||||
if (thisDownvoteButton.classList.contains('active')) {
|
if (thisDownvoteButton.classList.contains('active')) {
|
||||||
thisDownvoteButton.classList.remove('active')
|
thisDownvoteButton.classList.remove('active')
|
||||||
|
|
Loading…
Reference in New Issue