Skip to content

Commit

Permalink
Fill SSID fix
Browse files Browse the repository at this point in the history
  • Loading branch information
blazoncek committed Dec 30, 2024
1 parent bb4cfce commit 2c1899c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wled00/data/settings_wifi.htm
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
scanLoops = 0;

if (networks.length > 0) {
let cs = d.querySelectorAll("#wifi_entries input[type=text]");
let cs = d.querySelectorAll("#wifi_entries input[type=text][name^=CS]");
for (let input of (cs||[])) {
let found = false;
let select = cE("select");
Expand All @@ -64,7 +64,7 @@
const option = cE("option");

option.setAttribute("value", networks[i].ssid);
option.textContent = `${networks[i].ssid} (${networks[i].rssi} dBm)`;
option.textContent = `${networks[i].ssid} (${networks[i].rssi} dBm)`; // [${networks[i].bssid.replaceAll(':','')}]

if (networks[i].ssid === input.value) {
option.setAttribute("selected", "selected");
Expand Down

0 comments on commit 2c1899c

Please sign in to comment.