diff options
Diffstat (limited to 'pyload/web')
| -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 || '…'; | 
