From 98115a20d3cf128bb7961dd708c01e7a48bcd00f Mon Sep 17 00:00:00 2001 From: Ajay Ramachandran Date: Tue, 9 Jul 2019 22:26:15 -0400 Subject: [PATCH] Made it start with the "Sponsorship Ends Now" button when necessary --- popup.js | 1 + 1 file changed, 1 insertion(+) diff --git a/popup.js b/popup.js index 43ce1ce8..3b6d337c 100644 --- a/popup.js +++ b/popup.js @@ -49,6 +49,7 @@ function loadTabData(tabs) { if (sponsorTimesStorage != undefined && sponsorTimesStorage.length > 0) { if (sponsorTimesStorage[sponsorTimesStorage.length - 1] != undefined && sponsorTimesStorage[sponsorTimesStorage.length - 1].length < 2) { startTimeChosen = true; + document.getElementById("sponsorStart").innerHTML = "Sponsorship Ends Now"; } sponsorTimes = sponsorTimesStorage;