Hide error earlier

This commit is contained in:
ines 2017-11-03 11:29:04 +01:00
parent 43512c68b2
commit d0f88af5b6

View File

@ -198,6 +198,7 @@ export class ModelComparer {
this.fonts = CHART_FONTS;
this.defaultModels = defaultModels;
this.tpl.get('result').style.display = 'block';
this.tpl.get('error').style.display = 'none';
this.fetchCompat()
.then(compat => this.init(compat))
.catch(this.showError.bind(this))