1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-03 07:55:36 +00:00

improved file uploading progress text

This commit is contained in:
llj
2012-12-07 16:46:53 +08:00
parent 98e36340dd
commit 0c554c20e6
5 changed files with 11 additions and 8 deletions

View File

@@ -228,7 +228,7 @@ function filesizeformat(bytes, precision) {
var gigabyte = megabyte * 1024;
var terabyte = gigabyte * 1024;
precision = precision || 0;
var precision = precision || 0;
if ((bytes >= 0) && (bytes < kilobyte)) {
return bytes + ' B';