mirror of
https://github.com/ajayyy/SponsorBlock.git
synced 2025-12-12 06:27:14 +03:00
Added confirm for submitSponsorTimes
This commit is contained in:
@@ -593,6 +593,7 @@ function sponsorMessageStarted() {
|
||||
}
|
||||
|
||||
function submitSponsorTimes() {
|
||||
if(!confirm("Are you sure you want to submit this?")) return;
|
||||
//add loading animation
|
||||
document.getElementById("submitButtonImage").src = chrome.extension.getURL("icons/PlayerUploadIconSponsorBlocker256px.png");
|
||||
document.getElementById("submitButton").style.animation = "rotate 1s 0s infinite";
|
||||
|
||||
Reference in New Issue
Block a user