Skip to content

Commit

Permalink
build
Browse files Browse the repository at this point in the history
  • Loading branch information
dolymood committed Aug 22, 2017
1 parent bd65b21 commit eea1e25
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/uploader.js
Original file line number Diff line number Diff line change
Expand Up @@ -1478,7 +1478,7 @@ var utils = {

formatSize: function (size) {
if (size < 1024) {
return size + ' bytes'
return size.toFixed(0) + ' bytes'
} else if (size < 1024 * 1024) {
return (size / 1024.0).toFixed(0) + ' KB'
} else if (size < 1024 * 1024 * 1024) {
Expand Down
Loading

0 comments on commit eea1e25

Please sign in to comment.