Wireless: fix javascript error

This commit is contained in:
bergware
2025-04-26 18:57:22 +02:00
parent ca080ed5d3
commit 2e99ef2a6f
+1 -1
View File
@@ -83,7 +83,7 @@ function update_wifi(load) {
var wifi = JSON.parse(text);
$('#connected').html(wifi.active);
$('#my_networks').html(wifi.saved);
if (wifi.other.length) $('#other_networks').html(wifi.other);
if (typeof wifi.other == 'string') $('#other_networks').html(wifi.other);
}
});
timers.wifi = setTimeout(update_wifi,6000);