From 0fbae77456a74ff5b4503b863a36fe231f43ba15 Mon Sep 17 00:00:00 2001 From: Aurimas Vinckevicius Date: Mon, 3 Aug 2015 16:15:24 -0500 Subject: [PATCH] Don't use for-in to iterate over arrays in itemFromCSLJSON --- 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 23ec452f1b..ef161a1935 100644 --- a/chrome/content/zotero/xpcom/utilities.js +++ b/chrome/content/zotero/xpcom/utilities.js @@ -1667,7 +1667,7 @@ Zotero.Utilities = { for(var variable in CSL_TEXT_MAPPINGS) { if(variable in cslItem) { var textMappings = CSL_TEXT_MAPPINGS[variable]; - for(var i in textMappings) { + for(var i=0; i