diff --git a/files/js/filelist.js b/files/js/filelist.js index 359725cdc0..3f9b398446 100644 --- a/files/js/filelist.js +++ b/files/js/filelist.js @@ -23,7 +23,7 @@ FileList={ }else{ simpleSize='Pending'; } - sizeColor = Math.round(200-size/1024*1024*2); + sizeColor = Math.round(200-size/(1024*1024)*2); lastModifiedTime=Math.round(lastModified.getTime() / 1000); modifiedColor=Math.round((Math.round((new Date()).getTime() / 1000)-lastModifiedTime)/60/60/24*14); html+=''+simpleSize+''; diff --git a/files/templates/part.list.php b/files/templates/part.list.php index 22edd9351c..93ed70990b 100644 --- a/files/templates/part.list.php +++ b/files/templates/part.list.php @@ -1,7 +1,7 @@ >Nothing in here. Upload something!