From bb188d7724872d5509c9bacecf8d919bad3427bb Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 18 Feb 2020 01:11:51 -0500 Subject: [PATCH] use SI unit labels --- popup.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/popup.js b/popup.js index 7c5f2f5..b1d3c9c 100644 --- a/popup.js +++ b/popup.js @@ -298,9 +298,9 @@ function updateStorageInfo() { if (bytesInUse < 1024) { storageText = bytesInUse.toFixed(2) + " bytes"; } else if (bytesInUse < 1024 * 1024) { - storageText = (bytesInUse / 1024).toFixed(2) + " Kb"; + storageText = (bytesInUse / 1024).toFixed(2) + " KiB"; } else { - storageText = (bytesInUse / (1024 * 1024)).toFixed(2) + " Mb"; + storageText = (bytesInUse / (1024 * 1024)).toFixed(2) + " MiB"; } var storageSpan = document.getElementById("storageSpan"); -- 2.39.2