Removal of an attribute that was too much

This commit is contained in:
Hendrik Rauh 2024-12-18 20:21:05 +01:00
parent 7af1725665
commit c415ffa8b5

View file

@ -21,6 +21,7 @@ refreshButton.addEventListener("click", async () => {
// check if connected via WiFi-Station // check if connected via WiFi-Station
if (data.connection === 0) { if (data.connection === 0) {
// show currently connected wifi // show currently connected wifi
// show currently connected WiFi
insertNetworks([data.ssid]); insertNetworks([data.ssid]);
} }
@ -68,6 +69,6 @@ async function loadNetworks() {
async function updateNetworks() { async function updateNetworks() {
const networks = await loadNetworks(); const networks = await loadNetworks();
if (networks) { if (networks) {
insertNetworks(["", ...networks], true); insertNetworks(["", ...networks]);
} }
} }