Work around ellipsis-mangling bug in Firefox
This commit is contained in:
parent
971dd5c69c
commit
70371a868b
1 changed files with 1 additions and 1 deletions
|
@ -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) + '\u2026' + (countChars ? ' (' + str.length + ' chars)' : '');
|
||||||
}
|
}
|
||||||
return str;
|
return str;
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue