Proper ellipsis in Zotero.Utilities.ellipsize()
This commit is contained in:
parent
289983f486
commit
347c86b85a
|
@ -462,7 +462,7 @@ Zotero.Utilities = {
|
||||||
throw ("Length not specified in Zotero.Utilities.ellipsize()");
|
throw ("Length not specified in Zotero.Utilities.ellipsize()");
|
||||||
}
|
}
|
||||||
if (str.length > len) {
|
if (str.length > len) {
|
||||||
return str.substr(0, len) + '...' + (countChars ? ' (' + str.length + ' chars)' : '');
|
return str.substr(0, len) + '…' + (countChars ? ' (' + str.length + ' chars)' : '');
|
||||||
}
|
}
|
||||||
return str;
|
return str;
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user