pull/1/head
yann300 7 years ago
parent 8fcfb41975
commit 01afd8970c
  1. 2
      src/app/ui/renderer.js

@ -116,7 +116,7 @@ Renderer.prototype.error = function (message, container, opt) {
})
}
var $pre = $(opt.useSpan ? '<span />' : '<pre />').html(message)
var $pre = $(opt.useSpan ? yo`<span />` : yo`<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