From: Jakub Vrana Date: Sat, 18 Feb 2017 16:31:54 +0000 (+0100) Subject: Use null instead of undefined on after parsing JSON X-Git-Tag: v4.3.0~67 X-Git-Url: https://git.joonet.de/?a=commitdiff_plain;h=3fa1eadf2c25a04e563f594232f78e35b11c5c7d;p=adminer.git Use null instead of undefined on after parsing JSON --- diff --git a/adminer/static/functions.js b/adminer/static/functions.js index 71065313..392e84ea 100644 --- a/adminer/static/functions.js +++ b/adminer/static/functions.js @@ -239,7 +239,7 @@ function checkboxClick(event, el) { function setHtml(id, html) { var el = document.getElementById(id); if (el) { - if (html == undefined) { + if (html == null) { el.parentNode.innerHTML = ' '; } else { el.innerHTML = html;