Allow the word plugin installer to be async
This commit is contained in:
parent
5f0e3d550b
commit
3b30c5821a
1 changed files with 2 additions and 1 deletions
|
@ -89,7 +89,8 @@ ZoteroPluginInstaller.prototype = {
|
|||
"chrome,resizable=no,close=no,centerscreen", null);
|
||||
this._progressWindow.addEventListener("load", () => { this._firstRunListener() }, false);
|
||||
} else {
|
||||
this._addon.install(this);
|
||||
let result = this._addon.install(this);
|
||||
if (result.then) await result;
|
||||
}
|
||||
}
|
||||
} catch(e) {
|
||||
|
|
Loading…
Reference in a new issue