fix: retry automatique QR + multi-langue + thème jour/nuit

This commit is contained in:
William MERI 2026-06-13 04:30:48 +00:00
parent 91e0553189
commit d8cd7b509d

View file

@ -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);
</script>
</body>
</html>