mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2025-12-13 19:12:10 +01:00
Only load the network tab when switching once.
This commit is contained in:
parent
2c02306b24
commit
d5a237acea
2 changed files with 0 additions and 7 deletions
|
|
@ -638,13 +638,6 @@
|
|||
wifi.loadNetwork();
|
||||
break;
|
||||
}
|
||||
if (tab.getAttribute('data-grpid') === 'divNetworkSettings') {
|
||||
// Only load the networks if we need them.
|
||||
//if(new Date().getTime() - parseInt(document.getElementById('divAps').getAttribute('data-lastloaded'), 10) > 60000)
|
||||
// wifi.loadAPs();
|
||||
wifi.loadNetwork();
|
||||
}
|
||||
|
||||
let grp = document.getElementById(tab.getAttribute('data-grpid'));
|
||||
if (typeof grp !== 'undefined' && grp) grp.style.display = '';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue