From e6116bd3ec83b8634b60d5ee7821cbd11a53c05f Mon Sep 17 00:00:00 2001 From: jusax23 Date: Sat, 23 Oct 2021 13:26:20 +0200 Subject: [PATCH] bug fix --- config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.js b/config.js index f03c739..6dca40f 100644 --- a/config.js +++ b/config.js @@ -26,7 +26,7 @@ function F() { if (!t.data[sgroups[i]]) t.data[sgroups[i]] = {}; var snames = Object.keys(sgroup); for (var j = 0; j < snames.length; j++) { - if (!t.data[sgroups[i]][snames[j]]) { + if (typeof t.data[sgroups[i]][snames[j]] == "undefined") { t.data[sgroups[i]][snames[j]] = sgroup[snames[j]].default || ""; } switch (sgroup[snames[j]].type || "none") {