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+='