diff --git a/static/js/hub.js b/static/js/hub.js index 91d0853..2147507 100644 --- a/static/js/hub.js +++ b/static/js/hub.js @@ -222,6 +222,10 @@ document.addEventListener('DOMContentLoaded', () => { if (iframe) { iframe.src = url; iframe.onload = () => { + if (iframeLoadTimeout) { + clearTimeout(iframeLoadTimeout); + iframeLoadTimeout = null; + } if (loader) loader.classList.add('hidden'); try { if (iframe.contentDocument && iframe.contentDocument.title.toLowerCase().includes('cloudflare')) {