www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 70371a868b7bf9769bdf531ebab85eb441dd9e7a
parent 971dd5c69ce5b4cf0d32a2fe6112a3133b9dd99c
Author: Dan Stillman <dstillman@zotero.org>
Date:   Wed, 13 Jul 2011 21:18:32 +0000

Work around ellipsis-mangling bug in Firefox


Diffstat:
Mchrome/content/zotero/xpcom/utilities.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/zotero/xpcom/utilities.js b/chrome/content/zotero/xpcom/utilities.js @@ -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; },