mirror of
https://github.com/unraid/webgui.git
synced 2026-05-09 05:41:17 -05:00
Wireless: fix javascript error
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user