Update upload.blade.php

This commit is contained in:
escix 2023-11-17 00:01:40 +11:00 committed by GitHub
parent 7ac0f95312
commit a1519bf898
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -293,16 +293,16 @@
humanSize: function(val) {
if (val >= 100000000) {
return (val / 1000000000).toFixed(1) + ' Go'
return (val / 1000000000).toFixed(1) + ' Gb'
}
else if (val >= 1000000) {
return (val / 1000000).toFixed(1) + ' Mo'
return (val / 1000000).toFixed(1) + ' Mb'
}
else if (val >= 1000) {
return (val / 1000).toFixed(1) + ' Ko'
return (val / 1000).toFixed(1) + ' Kb'
}
else {
return val + ' o'
return val + ' B'
}
},