Don't start auto-sync until UI is ready
This commit is contained in:
parent
bd9501218e
commit
cf686c520a
1 changed files with 2 additions and 1 deletions
|
@ -424,7 +424,8 @@ var ZoteroPane = new function()
|
|||
|
||||
// Auto-sync on pane open or if new account
|
||||
if (Zotero.Prefs.get('sync.autoSync') || Zotero.initAutoSync) {
|
||||
yield Zotero.proxyAuthComplete.delay(1000);
|
||||
yield Zotero.proxyAuthComplete;
|
||||
yield Zotero.uiReadyPromise;
|
||||
|
||||
if (!Zotero.Sync.Runner.enabled) {
|
||||
Zotero.debug('Sync not enabled -- skipping auto-sync', 4);
|
||||
|
|
Loading…
Add table
Reference in a new issue