fix(ui): Defer pollBuild execution until DOM is loaded
Some checks are pending
Check Python Version Consistency / Check Python Version (push) Waiting to run

This commit is contained in:
Chris Christiansen 2026-06-24 13:45:14 +00:00
parent b2641dc344
commit ea9fadb3e0

View File

@ -794,8 +794,10 @@ async function pollBuild(){
return null return null
} }
} }
pollBuild() document.addEventListener('DOMContentLoaded', () => {
setInterval(pollBuild,30000) pollBuild()
setInterval(pollBuild,30000)
})
// ─── Fix 3: CostGuard — fetchWithTimeout helper (AbortController, 10s) ─── // ─── Fix 3: CostGuard — fetchWithTimeout helper (AbortController, 10s) ───
function fetchWithTimeout(url, ms=10000){ function fetchWithTimeout(url, ms=10000){