From 347c86b85a4708880e128d83d6bc3c5342549cc8 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Tue, 12 Jul 2011 16:40:23 +0000 Subject: [PATCH] Proper ellipsis in Zotero.Utilities.ellipsize() --- chrome/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 index 0d26d649b..1a1dc0c49 100644 --- 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; },