aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAjay Ramachandran <[email protected]>2019-08-01 15:19:58 -0400
committerAjay Ramachandran <[email protected]>2019-08-01 15:19:58 -0400
commitca8404147d33229b66f71d662231bdbe9f365212 (patch)
treee410087262282c529272e2e7b54bb8d79b87afe4
parent35c3b5b97f7b3742c962dbfa8bdb194e48f6238c (diff)
downloadSponsorBlock-ca8404147d33229b66f71d662231bdbe9f365212.tar.gz
SponsorBlock-ca8404147d33229b66f71d662231bdbe9f365212.zip
Made clicking upload hide the clear button
-rw-r--r--content.js3
-rw-r--r--popup.js1
2 files changed, 2 insertions, 2 deletions
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";
}