repaired js after merge

This commit is contained in:
2025-01-13 10:44:20 +01:00
parent 7f807d0031
commit 441ca19578

View File

@@ -34,7 +34,8 @@ document.addEventListener("DOMContentLoaded", function() {
}
}
// Parse the data and show it on the website
// Parse the data and show it on the website
async function parseData() {
const data = await fetchData();
const sensorDataContainer = document.getElementById("sensor-data");
sensorDataContainer.innerHTML = ""; // Clear previous data
@@ -58,4 +59,3 @@ document.addEventListener("DOMContentLoaded", function() {
// Update the image every 200 milliseconds
setInterval(updateImage, 100);
});