Skip to content

Commit

Permalink
Update renderer.js
Browse files Browse the repository at this point in the history
  • Loading branch information
yann300 authored and LianaHus committed Feb 20, 2019
1 parent c167db4 commit d35d130
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/ui/renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d35d130

Please sign in to comment.