Retire l'ecran de chargement plein ecran au demarrage d'ObsiGate #53

Merged
bruno merged 3 commits from fix/retrait-splash-demarrage into main 2026-10-28 18:22:25 -04:00
Showing only changes of commit bfe0c75106 - Show all commits
+2 -10
View File
@@ -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')