1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-12 17:44:07 +02:00

Use null instead of undefined on after parsing JSON

This commit is contained in:
Jakub Vrana
2017-02-18 17:31:54 +01:00
parent 3a1c251065
commit 3fa1eadf2c

View File

@@ -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;