mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-22 20:19:21 +00:00
Improve file size
This commit is contained in:
parent
dd2c8ea707
commit
04c7d31f12
@ -1066,7 +1066,7 @@ const ConvChatWindow = {
|
|||||||
appendTo: messageTargetElem,
|
appendTo: messageTargetElem,
|
||||||
type: "a",
|
type: "a",
|
||||||
href: messageFile.url,
|
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"
|
letFileLink.target = "_blank"
|
||||||
}
|
}
|
||||||
|
@ -343,7 +343,7 @@ const ConversationPageConvPart = {
|
|||||||
appendTo: messageContentContainer,
|
appendTo: messageContentContainer,
|
||||||
type: "a",
|
type: "a",
|
||||||
href: messageFile.url,
|
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"
|
letFileLink.target = "_blank"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user