mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2026-02-01 07:10:59 +03:00
Made it check again for sponsors after submitting.
This commit is contained in:
@@ -1048,6 +1048,9 @@ function sendSubmitMessage(){
|
|||||||
//clear the sponsor times
|
//clear the sponsor times
|
||||||
let sponsorTimeKey = "sponsorTimes" + currentVideoID;
|
let sponsorTimeKey = "sponsorTimes" + currentVideoID;
|
||||||
chrome.storage.sync.set({[sponsorTimeKey]: []});
|
chrome.storage.sync.set({[sponsorTimeKey]: []});
|
||||||
|
|
||||||
|
//request the sponsors from the server again
|
||||||
|
sponsorsLookup(currentVideoID);
|
||||||
} else {
|
} else {
|
||||||
//for a more detailed error message, they should check the popup
|
//for a more detailed error message, they should check the popup
|
||||||
//show that the upload failed
|
//show that the upload failed
|
||||||
|
|||||||
Reference in New Issue
Block a user