diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2014-01-18 22:27:32 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2014-01-18 22:27:32 +0100 |
commit | 23c628363aa0a7f44b5e869551b2bbcacad3e96c (patch) | |
tree | ad305ef49bffdcbfab46e4fe47968ab677d4d747 /pyload/web/app | |
parent | decrypt single packages into the current one (diff) | |
download | pyload-23c628363aa0a7f44b5e869551b2bbcacad3e96c.tar.xz |
basically working multi-user mode
Diffstat (limited to 'pyload/web/app')
-rw-r--r-- | pyload/web/app/scripts/helpers/truncate.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyload/web/app/scripts/helpers/truncate.js b/pyload/web/app/scripts/helpers/truncate.js index 861588452..42991ef94 100644 --- a/pyload/web/app/scripts/helpers/truncate.js +++ b/pyload/web/app/scripts/helpers/truncate.js @@ -6,7 +6,7 @@ define(['underscore','handlebars'], function(_, Handlebars) { if (_.isNumber(options)) strLen = options; - if (fullStr.length <= strLen) return fullStr; + if (!fullStr || fullStr.length <= strLen) return fullStr; var separator = options.separator || '…'; |