Skip to content

Commit

Permalink
Fix vote click when downvoting after upvoting (#4599)
Browse files Browse the repository at this point in the history
  • Loading branch information
pll33 authored and larsjohnsen committed Dec 22, 2017
1 parent 64b18f7 commit 57f1c31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/modules/userTagger.js
Expand Up @@ -517,7 +517,7 @@ async function handleVoteClick(arrow) {
down = 1;
if ($otherArrow.hasClass('upmod')) {
// also removing an upvote
down = -1;
up = -1;
}
} else if ($this.hasClass('downmod')) {
// removing a downvote directly
Expand Down

0 comments on commit 57f1c31

Please sign in to comment.