update 2026-09-12 02:55:35

This commit is contained in:
action committed 2026-09-12 02:55:35 +08:00
1 parent 8daa9142b3
commit 7a00e14e57
24 files changed
+220 -209

No files matched your search

@@ -61,14 +61,11 @@ function getOption(config, section, opt) {
const id = `cbid.${config}.${section}.${opt}`;
obj = document.getElementsByName(id)[0] || document.getElementById(id);
if (obj) {
//lua luci combobox
const combobox = document.getElementById('cbi.combobox.' + id);
if (combobox) {
obj.combobox = combobox;
}
const div = document.getElementById(id);
if (div && div.getElementsByTagName("li").length > 0) {
obj = div;
}
return obj;
} else {
return null;