commit 54fd18cce3e50281bcec039635d039670a12f9d4 parent ad4eccc54df899ee9437e1d5cdad706cf7416cdd Author: Simon Kornblith <simon@simonster.com> Date: Wed, 18 Jul 2012 14:56:37 -0400 Fix for strings in IE Diffstat:
| M | 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 @@ -693,7 +693,7 @@ Zotero.Utilities = { } else { // this is not a skip word or comes after a colon; // we must capitalize - words[i] = upperCaseVariant[0] + lowerCaseVariant.substr(1); + words[i] = upperCaseVariant.substr(0, 1) + lowerCaseVariant.substr(1); } }