Fix: restaurer topbar-logo.js original (supprimer fetch config)

Le fetch get_config_sqlite dans topbar-logo.js au DOMContentLoaded
saturait les 6 connexions par domaine du navigateur.
Retour au topbar-logo.js v1.4.4 d'origine. Le badge hotspot est
maintenant gere dans le window.onload de wifi.html.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
PaulVua
2026-03-17 18:57:08 +01:00
parent 903dcce2d7
commit 79d9be2c85
2 changed files with 7 additions and 15 deletions

View File

@@ -464,6 +464,11 @@ function wifi_scan(){
document.getElementById('card-wifi-scan').style.display = '';
}
// Update hotspot badge in sidebar
document.querySelectorAll('.sidebar-hotspot-badge').forEach(function(badge) {
badge.style.display = (data.WIFI_status === 'hotspot') ? '' : 'none';
});
$.ajax({
url: 'launcher.php?type=RTC_time',
dataType: 'text',