diff --git a/ESP32_PrusaConnectCam/WebPage.h b/ESP32_PrusaConnectCam/WebPage.h index 04c3784..9e36334 100644 --- a/ESP32_PrusaConnectCam/WebPage.h +++ b/ESP32_PrusaConnectCam/WebPage.h @@ -28,7 +28,6 @@ const char index_html[] PROGMEM = R"rawliteral( - Prusa ESP32-cam @@ -80,8 +79,8 @@ const char index_html[] PROGMEM = R"rawliteral(
@@ -890,7 +889,8 @@ function get_data(val) { img.src = (obj.led == "true") ? 'light-on-icon.svg' : 'light-off-icon.svg'; document.getElementById('light-icon').appendChild(img); } - + document.title = obj.mdns; + if (val == "config") { $("#fingerprint").text(obj.fingerprint); $("#refreshInterval").text(obj.refreshInterval); diff --git a/webpage/index.html b/webpage/index.html index 2e52c93..a70e709 100644 --- a/webpage/index.html +++ b/webpage/index.html @@ -2,7 +2,6 @@ - Prusa ESP32-cam @@ -54,8 +53,8 @@
@@ -79,4 +78,4 @@ addClickListener('github-link'); addClickListener('forum-link'); - + \ No newline at end of file diff --git a/webpage/scripts.js b/webpage/scripts.js index 95f896f..dcc159d 100644 --- a/webpage/scripts.js +++ b/webpage/scripts.js @@ -14,7 +14,8 @@ function get_data(val) { img.src = (obj.led == "true") ? 'light-on-icon.svg' : 'light-off-icon.svg'; document.getElementById('light-icon').appendChild(img); } - + document.title = obj.mdns; + if (val == "config") { $("#fingerprint").text(obj.fingerprint); $("#refreshInterval").text(obj.refreshInterval);