diff --git a/src/web/html/api.js b/src/web/html/api.js index e92f326c9..6e63740db 100644 --- a/src/web/html/api.js +++ b/src/web/html/api.js @@ -103,7 +103,9 @@ function parseVersion(obj) { } function parseESP(obj) { - document.getElementById("esp_type").innerHTML="Board: " + obj["esp_type"]; + document.getElementById("esp_type").append( + document.createTextNode("Board: " + obj["esp_type"]) + ); } function parseRssi(obj) { diff --git a/src/web/html/includes/footer.html b/src/web/html/includes/footer.html index 047481f1a..5a2b705b4 100644 --- a/src/web/html/includes/footer.html +++ b/src/web/html/includes/footer.html @@ -9,7 +9,7 @@