mirror of
https://github.com/zotero/zotero.git
synced 2026-09-29 01:41:24 +00:00
Migrate Zotero.Promise.map() in quickCopy.js
This commit is contained in:
parent
cf18fe69a9
commit
692312b419
1 changed files with 4 additions and 3 deletions
|
|
@ -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);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue