Commit 82458b0b authored by yann300's avatar yann300

remove errorContainerHead

parent 03480700
...@@ -25,7 +25,6 @@ class CompileTab { ...@@ -25,7 +25,6 @@ class CompileTab {
el: null, el: null,
warnCompilationSlow: null, warnCompilationSlow: null,
errorContainer: null, errorContainer: null,
errorContainerHead: null,
contractNames: null, contractNames: null,
contractEl: null contractEl: null
} }
...@@ -67,7 +66,6 @@ class CompileTab { ...@@ -67,7 +66,6 @@ class CompileTab {
this.compiler.event.register('compilationStarted', () => { this.compiler.event.register('compilationStarted', () => {
if (this._view.errorContainer) { if (this._view.errorContainer) {
this._view.errorContainer.innerHTML = '' this._view.errorContainer.innerHTML = ''
this._view.errorContainerHead.innerHTML = ''
} }
}) })
...@@ -337,8 +335,7 @@ class CompileTab { ...@@ -337,8 +335,7 @@ class CompileTab {
render () { render () {
if (this._view.el) return this._view.el if (this._view.el) return this._view.el
this._view.errorContainer = yo`<div class="alert alert-danger"></div>` this._view.errorContainer = yo`<div></div>`
this._view.errorContainerHead = yo`<div class="alert alert-danger"></div>`
this._view.contractSelection = this.contractSelection() this._view.contractSelection = this.contractSelection()
this._view.compilerContainer = this.compilerContainer.render() this._view.compilerContainer = this.compilerContainer.render()
this.compilerContainer.currentFile = this._deps.fileManager.currentFile() this.compilerContainer.currentFile = this._deps.fileManager.currentFile()
...@@ -347,7 +344,6 @@ class CompileTab { ...@@ -347,7 +344,6 @@ class CompileTab {
<div id="compileTabView"> <div id="compileTabView">
${this._view.compilerContainer} ${this._view.compilerContainer}
${this._view.contractSelection} ${this._view.contractSelection}
${this._view.errorContainerHead}
${this._view.errorContainer} ${this._view.errorContainer}
</div>` </div>`
return this._view.el return this._view.el
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment