Unverified Commit 518f521f authored by yann300's avatar yann300 Committed by GitHub

fix support tab render method

parent 72d22999
...@@ -26,8 +26,8 @@ module.exports = class SupportTab { ...@@ -26,8 +26,8 @@ module.exports = class SupportTab {
} }
render () { render () {
const self = this const self = this
self._view.el = yo` var el = yo`
<div class="${css.supportTabView} "id="supportView"> <div class="${css.supportTabView}" id="supportView">
<div class="${css.infoBox}"> <div class="${css.infoBox}">
Have a question, found a bug or want to propose a feature? Have a look at the Have a question, found a bug or want to propose a feature? Have a look at the
<a target="_blank" href='https://github.com/ethereum/browser-solidity/issues'> issues</a> or check out <a target="_blank" href='https://github.com/ethereum/browser-solidity/issues'> issues</a> or check out
...@@ -41,7 +41,8 @@ module.exports = class SupportTab { ...@@ -41,7 +41,8 @@ module.exports = class SupportTab {
${self._view.gitterIframe} ${self._view.gitterIframe}
</div> </div>
</div>` </div>`
return self._view.el if (!self._view.el) self._view.el = el
return el
function openLink () { window.open('https://gitter.im/ethereum/remix') } function openLink () { window.open('https://gitter.im/ethereum/remix') }
} }
} }
......
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