diff options
author | Ajay Ramachandran <[email protected]> | 2019-08-01 15:19:58 -0400 |
---|---|---|
committer | Ajay Ramachandran <[email protected]> | 2019-08-01 15:19:58 -0400 |
commit | ca8404147d33229b66f71d662231bdbe9f365212 (patch) | |
tree | e410087262282c529272e2e7b54bb8d79b87afe4 | |
parent | 35c3b5b97f7b3742c962dbfa8bdb194e48f6238c (diff) | |
download | SponsorBlock-ca8404147d33229b66f71d662231bdbe9f365212.tar.gz SponsorBlock-ca8404147d33229b66f71d662231bdbe9f365212.zip |
Made clicking upload hide the clear button
-rw-r--r-- | content.js | 3 | ||||
-rw-r--r-- | popup.js | 1 |
2 files changed, 2 insertions, 2 deletions
@@ -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 @@ -186,6 +186,7 @@ function runThePopup() { } else { SB.sponsorTimesViewsDisplayEndWord.innerText = "sponsor segment." } + SB.sponsorTimesViewsDisplay.innerText = viewCount; SB.sponsorTimesViewsContainer.style.display = "unset"; } |