fix support tab render method

pull/3094/head
yann300 7 years ago committed by GitHub
parent 74458b6113
commit d7b8724a3d
  1. 5
      src/app/tabs/support-tab.js

@ -26,7 +26,7 @@ module.exports = class SupportTab {
}
render () {
const self = this
self._view.el = yo`
var el = yo`
<div class="${css.supportTabView}" id="supportView">
<div class="${css.infoBox}">
Have a question, found a bug or want to propose a feature? Have a look at the
@ -41,7 +41,8 @@ module.exports = class SupportTab {
${self._view.gitterIframe}
</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') }
}
}

Loading…
Cancel
Save