Fix "librariesToSync is undefined" when full-text syncing is disabled
This commit is contained in:
parent
8bbf0bf495
commit
df1c92b9a3
|
@ -580,7 +580,7 @@ Zotero.Sync.Runner_Module = function (options = {}) {
|
||||||
* @return {Integer[]} - Array of libraries that need data syncing again
|
* @return {Integer[]} - Array of libraries that need data syncing again
|
||||||
*/
|
*/
|
||||||
var _doFullTextSync = Zotero.Promise.coroutine(function* (libraries, options) {
|
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");
|
Zotero.debug("Starting full-text syncing");
|
||||||
this.setSyncStatus(Zotero.getString('sync.status.syncingFullText'));
|
this.setSyncStatus(Zotero.getString('sync.status.syncingFullText'));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user