Commit f27b4610 authored by yann300's avatar yann300

fix yo template

parent 2f0b8d92
...@@ -12,7 +12,7 @@ class SupportTab { ...@@ -12,7 +12,7 @@ class SupportTab {
__showing () { __showing () {
if (this.gitterIsLoaded) return if (this.gitterIsLoaded) return
const iframe = yo`<iframe class="${css.chatIframe}" src='https://gitter.im/ethereum/remix/~embed'>` const iframe = yo`<iframe class="${css.chatIframe}" src='https://gitter.im/ethereum/remix/~embed'></iframe>`
this.gitterIframe.parentNode.replaceChild(iframe, this.gitterIframe) this.gitterIframe.parentNode.replaceChild(iframe, this.gitterIframe)
this.gitterIframe = iframe this.gitterIframe = iframe
this.el.style.display = 'block' this.el.style.display = 'block'
......
...@@ -87,7 +87,7 @@ Renderer.prototype.error = function (message, container, opt) { ...@@ -87,7 +87,7 @@ Renderer.prototype.error = function (message, container, opt) {
}) })
} }
var $pre = $(opt.useSpan ? yo`<span />` : yo`<pre />`).html(message) var $pre = $(opt.useSpan ? yo`<span></span>` : yo`<pre></pre>`).html(message)
var $error = $(yo`<div class="sol ${opt.type}"><div class="close"><i class="fa fa-close"></i></div></div>`).prepend($pre) var $error = $(yo`<div class="sol ${opt.type}"><div class="close"><i class="fa fa-close"></i></div></div>`).prepend($pre)
$(container).append($error) $(container).append($error)
......
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