mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2026-01-30 06:10:55 +03:00
Made clicking upload hide the clear button
This commit is contained in:
@@ -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
|
||||||
|
|||||||
1
popup.js
1
popup.js
@@ -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";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user