Wait for Zotero.init() before returning Zotero.reinit()

Not sure if this makes a difference, but it seems more correct.
This commit is contained in:
Dan Stillman 2022-06-09 03:12:32 -04:00
parent 0dd088e98d
commit 41dd75af8a

View file

@ -238,7 +238,7 @@ ZoteroContext.prototype = {
var o = {};
Object.assign(o, zInitOptions);
Object.assign(o, options);
zContext.Zotero.init(o);
return zContext.Zotero.init(o);
});
}
};