footer: use text for sysinfo-cpu (#3502)

This commit is contained in:
yubiuser
2025-06-03 05:52:39 +02:00
committed by GitHub

View File

@@ -364,7 +364,7 @@ function updateSystemInfo() {
? " (load is higher than the number of cores)" ? " (load is higher than the number of cores)"
: "") : "")
); );
$("#sysinfo-cpu").html( $("#sysinfo-cpu").text(
system.cpu["%cpu"].toFixed(1) + system.cpu["%cpu"].toFixed(1) +
"% on " + "% on " +
system.cpu.nprocs + system.cpu.nprocs +