add error reasons :3c

This commit is contained in:
ashley 2025-08-31 19:46:37 +02:00
parent 7efa6abaf5
commit 41b7f587f0

View File

@ -93,12 +93,12 @@
reloadCount++; reloadCount++;
localStorage.setItem('reloadCount', reloadCount); localStorage.setItem('reloadCount', reloadCount);
let seconds = reloadCount > 8 ? 30 : 10; let seconds = reloadCount > 90 ? 30 : 5;
function updateCountdown() { function updateCountdown() {
const el = document.getElementById('countdown'); const el = document.getElementById('countdown');
if (el) { if (el) {
if (reloadCount > 8) { if (reloadCount > 90) {
document.querySelector('.error p').textContent = "This is taking so long..."; document.querySelector('.error p').textContent = "This is taking so long...";
} }
el.textContent = "Trying again in " + seconds + " seconds..."; el.textContent = "Trying again in " + seconds + " seconds...";