From cfc8ae86e2067c9f9303fe326e3de566b53f1849 Mon Sep 17 00:00:00 2001 From: cbdev Date: Sun, 21 Jan 2024 16:14:26 +0100 Subject: Fix property access --- assets/cargohold.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/cargohold.js b/assets/cargohold.js index a9cb718..ea882fa 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, " + (total / 1024 /1024) + "MB)"; + element("download-all").innerText = "Download all (" + data.files.length + " Files, " + (data.total / 1024 /1024) + "MB)"; }; req.open("GET", "listing"); req.send(); -- cgit v1.2.3