From 372f6444708cd575572e5ec50256226cea97bd48 Mon Sep 17 00:00:00 2001 From: bolbol Date: Fri, 21 Aug 2026 00:25:07 +0100 Subject: [PATCH] fix: cancel iframeLoadTimeout on iframe.onload to prevent ghost auth notice --- static/js/hub.js | 4 ++++ 1 file changed, 4 insertions(+) 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')) {