diff options
Diffstat (limited to 'module/web/media/default/js/funktions.js')
-rw-r--r-- | module/web/media/default/js/funktions.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/web/media/default/js/funktions.js b/module/web/media/default/js/funktions.js index 8d9d332b3..529b7056b 100644 --- a/module/web/media/default/js/funktions.js +++ b/module/web/media/default/js/funktions.js @@ -1,6 +1,6 @@ // JavaScript Document
-function HumanFileSize(size) {
- var filesizename = new Array("B", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB");
+function humanFileSize(size) {
+ var filesizename = new Array("B", "KiB", "MiB", "GiB", "TiB", "PiB");
var loga = Math.log(size) / Math.log(1024);
var i = Math.floor(loga);
var a = Math.pow(1024, i);
|