A lot of refactoring, and etc #232

Open
Rudxain wants to merge 62 commits from Rudxain/patch-1 into master
Showing only changes of commit 7a65f9ad44 - Show all commits

View file

@ -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(" ")})`)