mirror of
https://github.com/pierre42100/ComunicWeb
synced 2025-06-19 04:15:17 +00:00
Fix bad function
This commit is contained in:
@ -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";
|
||||
}
|
Reference in New Issue
Block a user