From c7c271f2c44148e7da15a8b155808c4dbe387967 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Sat, 7 May 2016 13:17:57 -0400 Subject: [PATCH] Fix CSL editor in Firefox 46 --- chrome/content/zotero/tools/csledit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/tools/csledit.js b/chrome/content/zotero/tools/csledit.js index 5234ec5aa0..e90cb29fd9 100644 --- a/chrome/content/zotero/tools/csledit.js +++ b/chrome/content/zotero/tools/csledit.js @@ -176,7 +176,7 @@ var Zotero_CSL_Editor = new function() { throw e; } - var itemIds = [items[i].id for (i in items)]; + var itemIds = items.map(item => item.id); styleEngine.updateItems(itemIds);