From 122b160639b853e0551748dcb287bde03943b616 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 15aef33b1b..56ef34c04b 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); + } };