From 01afd8970c8a51b13ea34179ee273ca00b6e4227 Mon Sep 17 00:00:00 2001 From: yann300 Date: Mon, 23 Oct 2017 19:06:26 +0200 Subject: [PATCH] use yo --- src/app/ui/renderer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/ui/renderer.js b/src/app/ui/renderer.js index 2ffa019dc2..ff690bab90 100644 --- a/src/app/ui/renderer.js +++ b/src/app/ui/renderer.js @@ -116,7 +116,7 @@ Renderer.prototype.error = function (message, container, opt) { }) } - var $pre = $(opt.useSpan ? '' : '
').html(message)
+  var $pre = $(opt.useSpan ? yo`` : yo`
`).html(message)
 
   var $error = $(yo`
`).prepend($pre) container.append($error)