diff --git a/src/web/html/index.html b/src/web/html/index.html
index 82bf36d4..864dc762 100644
--- a/src/web/html/index.html
+++ b/src/web/html/index.html
@@ -156,9 +156,10 @@
document.getElementById("iv").replaceChildren(p);
if (count > 1) {
- p.append(svg(iconInfo, 30, 30, "icon icon-info"), span("Total: " + total + " W"), br());
- document.getElementById("total").replaceChildren(p);
- document.getElementById("total").appendChild(div(["class=\"hr\""]));
+ var t = div(["none"]);
+ t.append(svg(iconInfo, 30, 30, "icon icon-info"), span("Total: " + Math.round(total).toLocaleString() + " W"), br());
+ document.getElementById("total").replaceChildren(t);
+ document.getElementById("total").appendChild(div(["hr"]));
}
}