Move config values and close notice

This commit is contained in:
Ajay Ramachandran
2021-10-13 23:14:51 -04:00
parent 93e440385f
commit ff5fa4c724
4 changed files with 35 additions and 25 deletions

View File

@@ -1746,7 +1746,8 @@ function resetSponsorSubmissionNotice() {
function submitSponsorTimes() {
if (submissionNotice !== null){
submissionNotice.noticeElement.style.display = (submissionNotice.noticeElement.style.display === "none") ? null : "none";
submissionNotice.close();
submissionNotice = null;
return;
}