mirror of
https://github.com/vale981/Vulcan
synced 2025-03-06 10:01:40 -05:00
fixed - upvote/downvote
The issue was that the cancelDownvote() had was checking if there were any upvotes! Now its working like a charm.
This commit is contained in:
parent
2d9a779ec6
commit
80a482e505
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@
|
||||||
votePower = getVotePower(user);
|
votePower = getVotePower(user);
|
||||||
|
|
||||||
// if user isn't among the downvoters, abort
|
// if user isn't among the downvoters, abort
|
||||||
if(!hasUpvotedItem(item, user))
|
if(!hasDownvotedItem(item, user))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
// Votes & Score
|
// Votes & Score
|
||||||
|
|
Loading…
Add table
Reference in a new issue