diff --git a/chrome/content/zotero/zoteroPane.js b/chrome/content/zotero/zoteroPane.js index 8ec2d27ef0..5a667bc648 100644 --- a/chrome/content/zotero/zoteroPane.js +++ b/chrome/content/zotero/zoteroPane.js @@ -2362,7 +2362,7 @@ var ZoteroPane = new function() || Zotero.Prefs.get('sync.autoSync') || Zotero.Libraries.getAll() .every(library => !library.syncable - || library.lastSync.getTime() > Date.now() - 1000 * sevenDays)) { + || library.lastSync?.getTime() > Date.now() - 1000 * sevenDays)) { return; }