diff --git a/static/opax.html b/static/opax.html index bade0c9..41ffb8d 100644 --- a/static/opax.html +++ b/static/opax.html @@ -794,8 +794,10 @@ async function pollBuild(){ return null } } -pollBuild() -setInterval(pollBuild,30000) +document.addEventListener('DOMContentLoaded', () => { + pollBuild() + setInterval(pollBuild,30000) +}) // ─── Fix 3: CostGuard — fetchWithTimeout helper (AbortController, 10s) ─── function fetchWithTimeout(url, ms=10000){