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

This commit is contained in:
Abe Jellinek 2025-07-02 10:46:13 -04:00 • committed by Dan Stillman
parent 18500b19d0
commit 122b160639

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