Adjust formatting of speeds

This commit is contained in:
John Furrow
2016-01-09 13:07:02 -08:00
parent a0f6e09f01
commit 9d1689562a
5 changed files with 7 additions and 7 deletions

View File

@@ -81,7 +81,7 @@ const format = {
unit = 'B';
} else if ((bytes >= kilobyte) && (bytes < megabyte)) {
value = (bytes / kilobyte).toFixed(precision);
unit = 'kB';
unit = 'KB';
} else if ((bytes >= megabyte) && (bytes < gigabyte)) {
value = (bytes / megabyte).toFixed(precision);
unit = 'MB';