From 5d075a6be46d9c0df9c1c85a29e6aaa682058711 Mon Sep 17 00:00:00 2001 From: Ajay Ramachandran Date: Wed, 14 Aug 2019 22:08:23 -0400 Subject: [PATCH] Made autovote only happen if view counting is enabled --- content.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content.js b/content.js index 650a8b93..c05cd9ad 100644 --- a/content.js +++ b/content.js @@ -516,10 +516,10 @@ function skipToTime(v, index, sponsorTimes, openNotice) { //send telemetry that a this sponsor was skipped happened if (trackViewCount) { sendRequestToServer("GET", "/api/viewedVideoSponsorTime?UUID=" + currentUUID); - } - //vote on this - vote(1, currentUUID, true); + //upvote this + vote(1, currentUUID, true); + } } }