www

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

commit 347c86b85a4708880e128d83d6bc3c5342549cc8
parent 289983f4866a5cafe8587cb0186db3319abaedb1
Author: Dan Stillman <dstillman@zotero.org>
Date:   Tue, 12 Jul 2011 16:40:23 +0000

Proper ellipsis in Zotero.Utilities.ellipsize()


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) + '…' + (countChars ? ' (' + str.length + ' chars)' : ''); } return str; },