From 75f427029b469d875ae566496c9486d96e520100 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Constantin=20Wildf=C3=B6rster?= Date: Thu, 19 May 2022 14:40:16 +0200 Subject: [PATCH] use GB instead of GBytes, also only 2 digits --- templates/status.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/status.html b/templates/status.html index d373c54..6fc1303 100644 --- a/templates/status.html +++ b/templates/status.html @@ -25,7 +25,7 @@ Connected Peers if (pow == units.length-1) break } - return parseFloat(temporal.toFixed(3)) + units[pow]+"Bytes" + return parseFloat(temporal.toFixed(2)) + units[pow]+"B" }