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:
@@ -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';
|
||||
|
Reference in New Issue
Block a user