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:
parent
0dd088e98d
commit
41dd75af8a
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
});
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue