From ecd9f6eaffd10d97886d735f59117a548a61972d Mon Sep 17 00:00:00 2001 From: Official Noob <31563761+OfficialNoob@users.noreply.github.com> Date: Wed, 1 Jan 2020 15:09:13 +0000 Subject: [PATCH] Update content.js --- content.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content.js b/content.js index 888040ba..df98cda4 100644 --- a/content.js +++ b/content.js @@ -813,7 +813,7 @@ function clearSponsorTimes() { //clear the sponsor times let sponsorTimeKey = "sponsorTimes" + currentVideoID; - SB.config.sponsorTimeKey = []; + delete SB.config.sponsorTimeKey[sponsorTimeKey] //clear sponsor times submitting sponsorTimesSubmitting = []; @@ -971,7 +971,7 @@ function sendSubmitMessage(){ //clear the sponsor times let sponsorTimeKey = "sponsorTimes" + currentVideoID; - SB.config.sponsorTimeKey[sponsorTimeKey] = []; + delete SB.config.sponsorTimeKey[sponsorTimeKey]; //add submissions to current sponsors list sponsorTimes = sponsorTimes.concat(sponsorTimesSubmitting);