mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-08 12:37:05 +03:00
Removed old edit pane from popup and made it call the new one
This commit is contained in:
@@ -210,6 +210,10 @@ function messageListener(request: any, sender: any, sendResponse: (response: any
|
||||
case "changeStartSponsorButton":
|
||||
changeStartSponsorButton(request.showStartSponsor, request.uploadButtonVisible);
|
||||
|
||||
break;
|
||||
case "submitTimes":
|
||||
submitSponsorTimes();
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -1327,11 +1331,6 @@ function resetSponsorSubmissionNotice() {
|
||||
}
|
||||
|
||||
function submitSponsorTimes() {
|
||||
if (document.getElementById("submitButton").style.display == "none") {
|
||||
//don't submit, not ready
|
||||
return;
|
||||
}
|
||||
|
||||
if (submissionNotice !== null) return;
|
||||
|
||||
//it can't update to this info yet
|
||||
|
||||
Reference in New Issue
Block a user