mirror of
https://github.com/zotero/zotero.git
synced 2026-10-03 02:21:49 +00:00
Migrate Promise#delay() in schema.js
This commit is contained in:
parent
2825151467
commit
59f7f2fc03
1 changed files with 2 additions and 1 deletions
|
|
@ -940,7 +940,8 @@ Zotero.Schema = new function () {
|
|||
_localUpdateInProgress = true;
|
||||
|
||||
try {
|
||||
await Zotero.proxyAuthComplete.delay(1000);
|
||||
await Zotero.proxyAuthComplete;
|
||||
await Zotero.Promise.delay(1000);
|
||||
|
||||
Zotero.debug("Updating bundled " + (mode || "files"));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue