Update renderer.js

pull/3094/head
yann300 6 years ago committed by GitHub
parent 115afc1926
commit bfcb3a5ff9
  1. 2
      src/app/ui/renderer.js

@ -86,7 +86,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)
$(container).append($error)

Loading…
Cancel
Save