mirror of
https://framagit.org/hubzilla/core.git
synced 2026-06-21 00:52:33 -04:00
this probably should not be const but keep it non global anyway
This commit is contained in:
@@ -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']
|
||||
|
||||
Reference in New Issue
Block a user