From 7a65f9ad4409f7c5d8d9b679ca18b60242edbfd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Fern=C3=A1ndez=20Serrata?= <76864299+Rudxain@users.noreply.github.com> Date: Sun, 3 Jul 2022 16:21:53 -0400 Subject: [PATCH] Reverted my bad MB conversion --- html/analyze.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/analyze.html b/html/analyze.html index e558eed..0dd89c6 100644 --- a/html/analyze.html +++ b/html/analyze.html @@ -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(" ")})`)