mirror of
				https://github.com/pierre42100/ComunicWeb
				synced 2025-11-04 12:14:12 +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
 | 
					 * @param {number} size The size to format
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
function fileSizeToHuman(size) {
 | 
					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