]> git.joonet.de Git - adminer.git/commitdiff
Use null instead of undefined on after parsing JSON
authorJakub Vrana <jakub@vrana.cz>
Sat, 18 Feb 2017 16:31:54 +0000 (17:31 +0100)
committerJakub Vrana <jakub@vrana.cz>
Sat, 18 Feb 2017 16:32:40 +0000 (17:32 +0100)
adminer/static/functions.js

index 710653131a58cb40fc84201c40035afcb36acc69..392e84ea5f26d25e1a15362e50cccfd5c1c0d904 100644 (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 = '&nbsp;';
                } else {
                        el.innerHTML = html;