spaces to tabs
This commit is contained in:
parent
243f3f0c4c
commit
8fdc4585f7
1 changed files with 1 additions and 1 deletions
|
@ -827,7 +827,7 @@ function humanFileSize(size) {
|
||||||
var relativeSize = (size / Math.pow(1024, order)).toFixed(1);
|
var relativeSize = (size / Math.pow(1024, order)).toFixed(1);
|
||||||
if(order < 2){
|
if(order < 2){
|
||||||
relativeSize = parseFloat(relativeSize).toFixed(0);
|
relativeSize = parseFloat(relativeSize).toFixed(0);
|
||||||
}
|
}
|
||||||
else if(relativeSize.substr(relativeSize.length-2,2)==='.0'){
|
else if(relativeSize.substr(relativeSize.length-2,2)==='.0'){
|
||||||
relativeSize=relativeSize.substr(0,relativeSize.length-2);
|
relativeSize=relativeSize.substr(0,relativeSize.length-2);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue