diff --git a/content.js b/content.js index c66e6937..00e47c84 100644 --- a/content.js +++ b/content.js @@ -850,8 +850,7 @@ function sendSubmitMessage(){ submitButton.style.animation = "rotate 1s"; //when the animation is over, hide the button submitButton.addEventListener("animationend", function() { - submitButton.style.animation = "unset"; - submitButton.style.display = "none"; + changeStartSponsorButton(true, false); }); //clear the sponsor times diff --git a/popup.js b/popup.js index b86ea987..4b1c397f 100644 --- a/popup.js +++ b/popup.js @@ -186,6 +186,7 @@ function runThePopup() { } else { SB.sponsorTimesViewsDisplayEndWord.innerText = "sponsor segment." } + SB.sponsorTimesViewsDisplay.innerText = viewCount; SB.sponsorTimesViewsContainer.style.display = "unset"; }