From 18789ca7c489d2d67e3c8a6925ac5880e1d0997d Mon Sep 17 00:00:00 2001 From: BlueFox Date: Tue, 26 Mar 2024 19:18:03 +0100 Subject: [PATCH] Added updating for some sliders etc.; some are still remaining --- simpledemo.html | 164 +++++++++++++++++++++++++----------------------- 1 file changed, 84 insertions(+), 80 deletions(-) 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