commit c7c271f2c44148e7da15a8b155808c4dbe387967 parent 151c066043e763bd8df2c00a5a8ad86bd14cafc3 Author: Dan Stillman <dstillman@zotero.org> Date: Sat, 7 May 2016 13:17:57 -0400 Fix CSL editor in Firefox 46 Diffstat:
| M | 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 @@ -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);