Merge pull request #132 from ajayyy/experimental

Made report by submitter work for VIPs
This commit is contained in:
Ajay Ramachandran
2020-09-06 13:37:10 -04:00
committed by GitHub

View File

@@ -17,10 +17,10 @@ function getVoteAuthorRaw(submissionCount, isVIP, isOwnSubmission) {
function getVoteAuthor(submissionCount, isVIP, isOwnSubmission) {
if (submissionCount === 0) {
return "Report by New User";
} else if (isVIP) {
return "Report by VIP User";
} else if (isOwnSubmission) {
return "Report by Submitter";
} else if (isVIP) {
return "Report by VIP User";
}
return "";