This commit is contained in:
Eugene Pankov
2017-04-24 00:43:58 +02:00
parent 2f4afd7625
commit 64556806e6
4 changed files with 6 additions and 16 deletions

View File

@@ -21,7 +21,7 @@ if ((<any>global).require('electron-is-dev')) {
}
loadPlugins((current, total) => {
document.querySelector('.progress .bar').style.width = 100 * current / total + '%'
(<HTMLElement>document.querySelector('.progress .bar')).style.width = 100 * current / total + '%'
}).then(async plugins => {
let module = await getRootModule(plugins)
platformBrowserDynamic().bootstrapModule(module)