From 3e7cd33f79d4a3a130e217f98e37f446761fad2c Mon Sep 17 00:00:00 2001 From: cbdev Date: Fri, 18 Jul 2025 21:59:27 +0200 Subject: Fix gallery CSS --- assets/cargohold.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'assets/cargohold.js') diff --git a/assets/cargohold.js b/assets/cargohold.js index ea882fa..4e8bdd3 100644 --- a/assets/cargohold.js +++ b/assets/cargohold.js @@ -140,7 +140,7 @@ function listing_update(){ listing_add(data.files[i], data.display); } - element("download-all").innerText = "Download all (" + data.files.length + " Files, " + (data.total / 1024 /1024) + "MB)"; + element("download-all").innerText = "Download all (" + data.files.length + " Files, " + (data.total / 1024 /1024).toFixed(2) + " MB)"; }; req.open("GET", "listing"); req.send(); -- cgit v1.2.3