diff options
author | Simon Könnecke <simonkoennecke@gmail.com> | 2013-12-18 15:43:45 +0100 |
---|---|---|
committer | Simon Könnecke <simonkoennecke@gmail.com> | 2013-12-18 15:43:45 +0100 |
commit | 8fdc4585f7545a95ac404af03179cf79452df1c9 (patch) | |
tree | eccbb24e3057cc56935f3c55a89de60e1f2034a9 /core/js | |
parent | 243f3f0c4c2831f4cf27c33f1d4cc748843d24da (diff) | |
download | nextcloud-server-8fdc4585f7545a95ac404af03179cf79452df1c9.tar.gz nextcloud-server-8fdc4585f7545a95ac404af03179cf79452df1c9.zip |
spaces to tabs
Diffstat (limited to 'core/js')
-rw-r--r-- | core/js/js.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/js.js b/core/js/js.js index b838e9578e7..0af7073a0f0 100644 --- a/core/js/js.js +++ b/core/js/js.js @@ -827,7 +827,7 @@ function humanFileSize(size) { var relativeSize = (size / Math.pow(1024, order)).toFixed(1); if(order < 2){ relativeSize = parseFloat(relativeSize).toFixed(0); - } + } else if(relativeSize.substr(relativeSize.length-2,2)==='.0'){ relativeSize=relativeSize.substr(0,relativeSize.length-2); } |