Made it check again for sponsors after submitting.

This commit is contained in:
Ajay Ramachandran
2019-08-11 23:13:07 -04:00
parent 1c05de3098
commit 3a4d867ae3

View File

@@ -1048,6 +1048,9 @@ function sendSubmitMessage(){
//clear the sponsor times
let sponsorTimeKey = "sponsorTimes" + currentVideoID;
chrome.storage.sync.set({[sponsorTimeKey]: []});
//request the sponsors from the server again
sponsorsLookup(currentVideoID);
} else {
//for a more detailed error message, they should check the popup
//show that the upload failed