From 6f2acf5aea6666e714c6cdc5949f34284c8709c6 Mon Sep 17 00:00:00 2001 From: devilrep Date: Wed, 2 Sep 2015 17:16:39 +0300 Subject: [PATCH] Hot fix: fixed bug with select --- public/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/app.js b/public/js/app.js index c63afb3..0cd4602 100644 --- a/public/js/app.js +++ b/public/js/app.js @@ -92,7 +92,7 @@ define([ }, htmlspecialchars: function (html) { - if (html) { + if (!html) { return ''; } return html.replace(/&/g, '&')