From d8cd7b509d2d1c416dc324c831fc0d7a5fc7f560 Mon Sep 17 00:00:00 2001 From: William MERI Date: Sat, 13 Jun 2026 04:30:48 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20retry=20automatique=20QR=20+=20multi-lan?= =?UTF-8?q?gue=20+=20th=C3=A8me=20jour/nuit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/tv-simulator/index.html | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/apps/tv-simulator/index.html b/apps/tv-simulator/index.html index e5aba7b..2301049 100644 --- a/apps/tv-simulator/index.html +++ b/apps/tv-simulator/index.html @@ -740,6 +740,14 @@ // ═══ DÉMARRAGE ═══ init(); + // Retry QR si non généré après 2s (fallback timing) + setTimeout(() => { + const img = document.getElementById('qrImage'); + if (img && (!img.src || img.src === window.location.href || img.src.length < 100)) { + console.log('[QR] Retry auto...'); + generateQR(); + } + }, 2000);