Migrate Zotero.Promise.map() in quickCopy.js

This commit is contained in:
Abe Jellinek 2025-07-02 10:46:13 -04:00
parent cf18fe69a9
commit 692312b419

View file

@ -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);
}
};