aboutsummaryrefslogtreecommitdiff
path: root/assets/cargohold.js
diff options
context:
space:
mode:
authorcbdev <cb@cbcdn.com>2025-07-18 21:59:27 +0200
committercbdev <cb@cbcdn.com>2025-07-18 21:59:27 +0200
commit3e7cd33f79d4a3a130e217f98e37f446761fad2c (patch)
tree75eb32ce1a3295b7dde973c83cde746acadc79c4 /assets/cargohold.js
parentcfc8ae86e2067c9f9303fe326e3de566b53f1849 (diff)
downloadcargohold-3e7cd33f79d4a3a130e217f98e37f446761fad2c.tar.gz
cargohold-3e7cd33f79d4a3a130e217f98e37f446761fad2c.tar.bz2
cargohold-3e7cd33f79d4a3a130e217f98e37f446761fad2c.zip
Fix gallery CSSHEADmaster
Diffstat (limited to 'assets/cargohold.js')
-rw-r--r--assets/cargohold.js2
1 files changed, 1 insertions, 1 deletions
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();