Reverted my bad MB conversion
This commit is contained in:
parent
72d90d4502
commit
7a65f9ad44
1 changed files with 1 additions and 1 deletions
|
@ -273,7 +273,7 @@ function appendTriggerGroups() {
|
|||
appendPortals()
|
||||
})
|
||||
|
||||
let dataSize = [Number((res.dataLength / (1024 * 2)).toFixed(1)), "MB"]
|
||||
let dataSize = [Number((res.dataLength / 1024 / 1024).toFixed(1)), "MB"]
|
||||
if (dataSize[0] < 1) dataSize = [Number((res.dataLength / 1024).toFixed(1)), "KB"]
|
||||
|
||||
$('#codeLength').html(`${commafy(res.dataLength)} characters (${dataSize.join(" ")})`)
|
||||
|
|
Loading…
Reference in a new issue