Made clicking upload hide the clear button

This commit is contained in:
Ajay Ramachandran
2019-08-01 15:19:58 -04:00
parent 35c3b5b97f
commit ca8404147d
2 changed files with 2 additions and 2 deletions

View File

@@ -850,8 +850,7 @@ function sendSubmitMessage(){
submitButton.style.animation = "rotate 1s"; submitButton.style.animation = "rotate 1s";
//when the animation is over, hide the button //when the animation is over, hide the button
submitButton.addEventListener("animationend", function() { submitButton.addEventListener("animationend", function() {
submitButton.style.animation = "unset"; changeStartSponsorButton(true, false);
submitButton.style.display = "none";
}); });
//clear the sponsor times //clear the sponsor times

View File

@@ -186,6 +186,7 @@ function runThePopup() {
} else { } else {
SB.sponsorTimesViewsDisplayEndWord.innerText = "sponsor segment." SB.sponsorTimesViewsDisplayEndWord.innerText = "sponsor segment."
} }
SB.sponsorTimesViewsDisplay.innerText = viewCount; SB.sponsorTimesViewsDisplay.innerText = viewCount;
SB.sponsorTimesViewsContainer.style.display = "unset"; SB.sponsorTimesViewsContainer.style.display = "unset";
} }