summaryrefslogtreecommitdiffstats
path: root/core/js
diff options
context:
space:
mode:
authorSimon Könnecke <simonkoennecke@gmail.com>2013-12-18 15:43:45 +0100
committerSimon Könnecke <simonkoennecke@gmail.com>2013-12-18 15:43:45 +0100
commit8fdc4585f7545a95ac404af03179cf79452df1c9 (patch)
treeeccbb24e3057cc56935f3c55a89de60e1f2034a9 /core/js
parent243f3f0c4c2831f4cf27c33f1d4cc748843d24da (diff)
downloadnextcloud-server-8fdc4585f7545a95ac404af03179cf79452df1c9.tar.gz
nextcloud-server-8fdc4585f7545a95ac404af03179cf79452df1c9.zip
spaces to tabs
Diffstat (limited to 'core/js')
-rw-r--r--core/js/js.js2
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);
}