From bfe0c751063bd6971a0af1fe691d90ff401a801c Mon Sep 17 00:00:00 2001 From: bruno Date: Wed, 28 Oct 2026 16:44:11 -0400 Subject: [PATCH] Retire le signal de boot vers le splash supprime (DOMContentLoaded simplifie) --- frontend/js/app.js | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/frontend/js/app.js b/frontend/js/app.js index ad2eb63..8adda3b 100644 --- a/frontend/js/app.js +++ b/frontend/js/app.js @@ -120,16 +120,8 @@ async function init() { } document.addEventListener("DOMContentLoaded", async () => { - try { - await init(); - Sync.init(); - } finally { - // Signale au splash de démarrage (index.html #boot-splash) que l'app est - // initialisée : le splash est retiré et le squelette stylé révélé. - // Set AFTER init() resolves so every handler (search, tabs, …) is bound. - window.__OBSIGATE_BOOTED = true; - if (typeof window.__obsigateBootReady === "function") window.__obsigateBootReady(); - } + await init(); + Sync.init(); // Show version in header — always visible, fallback before the async fetch populateVersions(); fetch('/api/health')