From 692312b419dfb7f0aaa8759230a9aafe62bbdc60 Mon Sep 17 00:00:00 2001 From: Abe Jellinek Date: Wed, 2 Jul 2025 10:46:13 -0400 Subject: [PATCH] Migrate Zotero.Promise.map() in quickCopy.js --- chrome/content/zotero/xpcom/quickCopy.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/chrome/content/zotero/xpcom/quickCopy.js b/chrome/content/zotero/xpcom/quickCopy.js index 4e63c904c8..0b528bbbbb 100644 --- a/chrome/content/zotero/xpcom/quickCopy.js +++ b/chrome/content/zotero/xpcom/quickCopy.js @@ -85,11 +85,12 @@ Zotero.QuickCopy = new function () { _siteSettings = rows.map(row => { return { domainPath: row.domainPath, - format: row.format + format: row.format }; }); - await // FIXME: fx140: replace call to Zotero.Promise.map() - Zotero.Promise.map(rows, row => _preloadFormat(row.format)); + for (let row of rows) { + await _preloadFormat(row.format); + } };