summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2014-06-02 17:10:10 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2014-06-02 17:10:10 +0200
commit98bf765a0b8cdcb03f787afbdf4adcc51bf58f77 (patch)
tree56318449006739d83e87b872ab0057ce3c3bc94b
parentMerge pull request #646 from charlie89/fix-accounts-trafficleft (diff)
downloadpyload-98bf765a0b8cdcb03f787afbdf4adcc51bf58f77.tar.xz
fixed jshint
-rw-r--r--pyload/web/app/scripts/helpers/formatSize.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyload/web/app/scripts/helpers/formatSize.js b/pyload/web/app/scripts/helpers/formatSize.js
index ddd62a1a5..1fe04f6b0 100644
--- a/pyload/web/app/scripts/helpers/formatSize.js
+++ b/pyload/web/app/scripts/helpers/formatSize.js
@@ -7,7 +7,7 @@ define('helpers/formatSize', ['handlebars', 'utils/i18n'], function(Handlebars,
//multiplier 1024 is used for trafficleft because trafficleft is in KiB
if (typeof multiplier === 'number')
bytes = bytes * multiplier;
-
+
if (!bytes || bytes === 0) return '0 B';
if (bytes === -1)
return i18n.gettext('not available');