mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-22 04:09:20 +00:00
Improve file size
This commit is contained in:
parent
dd2c8ea707
commit
04c7d31f12
@ -1066,7 +1066,7 @@ const ConvChatWindow = {
|
||||
appendTo: messageTargetElem,
|
||||
type: "a",
|
||||
href: messageFile.url,
|
||||
innerHTML: "<i class='fa fa-download'></i> "+ messageFile.name + " (" + messageFile.size/1024 + "MB)",
|
||||
innerHTML: "<i class='fa fa-download'></i> "+ messageFile.name + " ("+fileSizeToHuman(messageFile.size)+")",
|
||||
})
|
||||
letFileLink.target = "_blank"
|
||||
}
|
||||
|
@ -343,7 +343,7 @@ const ConversationPageConvPart = {
|
||||
appendTo: messageContentContainer,
|
||||
type: "a",
|
||||
href: messageFile.url,
|
||||
innerHTML: "<i class='fa fa-download'></i> "+ messageFile.name + " (" + messageFile.size/1024 + "MB)",
|
||||
innerHTML: "<i class='fa fa-download'></i> "+ messageFile.name + " ("+fileSizeToHuman(messageFile.size) +")",
|
||||
})
|
||||
letFileLink.target = "_blank"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user