Commit fedd7cfa authored by serapath's avatar serapath

CompileTab: refactor element el

parent 15869039
......@@ -151,7 +151,7 @@ module.exports = class CompileTab {
<div title="Publish on Swarm" class="${css.publish}" onclick=${publish}>Publish on Swarm</div>
</div>
</div>`
var el = yo`
self._view.el = yo`
<div class="${css.compileTabView}" id="compileTabView">
${self._view.compileContainer}
${self._view.contractEl}
......@@ -275,7 +275,7 @@ module.exports = class CompileTab {
}
}
}
return { render () { return el } }
return { render () { return self._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