diff --git a/simpledemo.html b/simpledemo.html index 6739a76..a4f778e 100644 --- a/simpledemo.html +++ b/simpledemo.html @@ -192,7 +192,7 @@
-
@@ -358,18 +350,18 @@

- +


- +


- + @@ -391,12 +383,12 @@ -> - @@ -420,7 +412,7 @@

After doing this, you have to go down to the restart collapsible. There, restart the NetSpeaker and it should connect to the configured WiFi.

If anything is wrong (either SSID or PSK wrong/typo, or the wifi's not available), the NetSpeaker opens an HotSpot - with the SSID " + apSSID + " and the PSK " + apPSK + "!

+ with the SSID and the PSK !

SSID { configButtonEventListener(false); }); + const ipAdressModalApplyBtn = document.getElementById('ipAdressModalApplyBtn'); + ipAdressModalApplyBtn.addEventListener('click', () => { configButtonEventListener(false); }); - const ipAdressModalOkBtn = document.getElementById('ipAdressModalOkBtn'); - ipAdressModalOkBtn.addEventListener('click', () => { configButtonEventListener(true); }); + const ipAdressModalOkBtn = document.getElementById('ipAdressModalOkBtn'); + ipAdressModalOkBtn.addEventListener('click', () => { configButtonEventListener(true); }); - } else if (isValidIP(document.cookie)) setupSite(); + } else if (isValidIP(document.cookie)) setupSite(); + } // end of onload function