SPB Git forge

spb/admin-ka

Public
41commits 1branches 0releases
172.9 MBsize
maindefault branch
19 days agolast push
JavaScript 65.5% Python 17.8% CSS 13% HTML 3.7%

Fix onglet Visiteurs: hook switchView manquant (startVisitors non appele)

SPB committed 1 mo ago (Aug 23, 2026) parent 125ca1d

1 changed file +1 −0

modified public/app.js +1 −0
@@ -63,6 +63,7 @@
63 63 if (name === 'prompts') loadPrompts();
64 64 if (name === 'eco') { loadEco(); send({ type: 'eco_sub' }); } else { send({ type: 'eco_unsub' }); }
65 65 if (name === 'social' && window.__loadGallery) window.__loadGallery();
66 + if (name === 'visitors' && window.startVisitors) window.startVisitors();
66 67 if (name === 'settings') refreshSettingsView();
67 68 }
68 69 document.querySelectorAll('.nav-btn').forEach((b) => { b.onclick = () => switchView(b.dataset.view); });
69 70