mirror of
https://github.com/zotero/zotero.git
synced 2026-10-05 02:43:38 +00:00
Pass empty array to sync/finish event if no synced libraries
This commit is contained in:
parent
3de40256bf
commit
74fe2a2bdc
1 changed files with 1 additions and 1 deletions
|
|
@ -223,7 +223,7 @@ Zotero.Sync.Runner_Module = function (options = {}) {
|
|||
}
|
||||
|
||||
Zotero.debug("Done syncing");
|
||||
Zotero.Notifier.trigger('finish', 'sync', librariesToSync);
|
||||
Zotero.Notifier.trigger('finish', 'sync', librariesToSync || []);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue