Work around ellipsis-mangling bug in Firefox

This commit is contained in:
Dan Stillman 2011-07-13 21:18:32 +00:00
parent 971dd5c69c
commit 70371a868b

View file

@ -462,7 +462,7 @@ Zotero.Utilities = {
throw ("Length not specified in Zotero.Utilities.ellipsize()");
}
if (str.length > len) {
return str.substr(0, len) + '' + (countChars ? ' (' + str.length + ' chars)' : '');
return str.substr(0, len) + '\u2026' + (countChars ? ' (' + str.length + ' chars)' : '');
}
return str;
},