Removed old edit pane from popup and made it call the new one

This commit is contained in:
Ajay Ramachandran
2020-04-02 13:22:08 -04:00
parent d37abcfa9f
commit 6fa67088bc
3 changed files with 8 additions and 99 deletions

View File

@@ -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