this probably should not be const but keep it non global anyway

This commit is contained in:
Mario
2026-03-02 08:05:31 +00:00
parent 3256aa8be9
commit fd69008484

View File

@@ -34,7 +34,7 @@
.then((response) => response.json())
.then((json) => {
for (const item in json) {
const element = document.getElementById(`perfstat-${item}-value`);
let element = document.getElementById(`perfstat-${item}-value`);
if (element) {
if (item === "loadavg") {
element.innerText = json['loadavg']