Skip to content

Commit

Permalink
Don't start auto-sync until UI is ready
Browse files Browse the repository at this point in the history
  • Loading branch information
dstillman committed Dec 22, 2016
1 parent bd95012 commit cf686c5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion chrome/content/zotero/zoteroPane.js
Expand Up @@ -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);
Expand Down

0 comments on commit cf686c5

Please sign in to comment.