mirror of
https://github.com/vrana/adminer.git
synced 2025-08-14 02:23:59 +02:00
Use null instead of undefined on after parsing JSON
This commit is contained in:
@@ -239,7 +239,7 @@ function checkboxClick(event, el) {
|
|||||||
function setHtml(id, html) {
|
function setHtml(id, html) {
|
||||||
var el = document.getElementById(id);
|
var el = document.getElementById(id);
|
||||||
if (el) {
|
if (el) {
|
||||||
if (html == undefined) {
|
if (html == null) {
|
||||||
el.parentNode.innerHTML = ' ';
|
el.parentNode.innerHTML = ' ';
|
||||||
} else {
|
} else {
|
||||||
el.innerHTML = html;
|
el.innerHTML = html;
|
||||||
|
Reference in New Issue
Block a user