mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-12-24 09:58:51 +00:00
Fix bad function
This commit is contained in:
parent
04c7d31f12
commit
63365e7db7
@ -841,5 +841,5 @@ function rpad(str, len, fill) {
|
||||
* @param {number} size The size to format
|
||||
*/
|
||||
function fileSizeToHuman(size) {
|
||||
return Math.round(ServerConfig.conf.conversation_files_max_size/(1000*1000)*100)/100 + "MB";
|
||||
return Math.round(size/(1000*1000)*1000)/1000 + "MB";
|
||||
}
|
Loading…
Reference in New Issue
Block a user