mirror of
https://github.com/Supernova3339/anonupload.git
synced 2026-05-07 18:17:05 +02:00
Update download.php
This commit is contained in:
@@ -79,12 +79,11 @@ const initTimer = () => {
|
||||
return downloadBtn.innerHTML = `Your download will begin in <b>${timer}</b> seconds`;
|
||||
}
|
||||
clearInterval(initCounter);
|
||||
location.href = fileLink;
|
||||
window.open(fileLink);
|
||||
downloadBtn.innerText = "Your file is downloading...";
|
||||
setTimeout(() => {
|
||||
downloadBtn.classList.replace("timer", "disable-timer");
|
||||
downloadBtn.innerHTML = `<span class="icon material-symbols-rounded">vertical_align_bottom</span>
|
||||
<span class="text">Download Again</span>`;
|
||||
downloadBtn.innerHTML = `<span class="text">Download Again</span>`;
|
||||
}, 3000);
|
||||
}, 1000);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user