Fix "librariesToSync is undefined" when full-text syncing is disabled
This commit is contained in:
parent
8bbf0bf495
commit
df1c92b9a3
1 changed files with 1 additions and 1 deletions
|
@ -580,7 +580,7 @@ Zotero.Sync.Runner_Module = function (options = {}) {
|
|||
* @return {Integer[]} - Array of libraries that need data syncing again
|
||||
*/
|
||||
var _doFullTextSync = Zotero.Promise.coroutine(function* (libraries, options) {
|
||||
if (!Zotero.Prefs.get("sync.fulltext.enabled")) return;
|
||||
if (!Zotero.Prefs.get("sync.fulltext.enabled")) return [];
|
||||
|
||||
Zotero.debug("Starting full-text syncing");
|
||||
this.setSyncStatus(Zotero.getString('sync.status.syncingFullText'));
|
||||
|
|
Loading…
Reference in a new issue