From cf30dc2e8fa357dbb5ab4c46189ace1707d8ab21 Mon Sep 17 00:00:00 2001 From: ashley Date: Mon, 18 Aug 2025 00:39:46 +0200 Subject: [PATCH] Update html/layouts/error-video.ejs --- html/layouts/error-video.ejs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/html/layouts/error-video.ejs b/html/layouts/error-video.ejs index 22ad44ad..96585676 100644 --- a/html/layouts/error-video.ejs +++ b/html/layouts/error-video.ejs @@ -93,12 +93,12 @@ reloadCount++; localStorage.setItem('reloadCount', reloadCount); - let seconds = reloadCount > 5 ? 30 : 10; + let seconds = reloadCount > 8 ? 30 : 10; function updateCountdown() { const el = document.getElementById('countdown'); if (el) { - if (reloadCount > 5) { + if (reloadCount > 8) { document.querySelector('.error p').textContent = "This is taking so long..."; } el.textContent = "Trying again in " + seconds + " seconds..."; @@ -110,7 +110,7 @@ setTimeout(updateCountdown, 1000); } } - window.addEventListener('DOMContentLoaded', updateCountdown); + window.addEventListener('DOMContentLoaded', updateCountdown); <% } else { %>