diff options
-rw-r--r-- | libs/cbi/htdocs/luci-static/resources/cbi.js | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/libs/cbi/htdocs/luci-static/resources/cbi.js b/libs/cbi/htdocs/luci-static/resources/cbi.js index a3a47aa45..3abc3a9f5 100644 --- a/libs/cbi/htdocs/luci-static/resources/cbi.js +++ b/libs/cbi/htdocs/luci-static/resources/cbi.js @@ -26,11 +26,7 @@ function cbi_d_update(target) { if (t && t.value && cbi_d[target][t.value]) { for (var i=0; i<cbi_d[target][t.value].length; i++) { var y = document.getElementById(cbi_d[target][t.value][i]) - if (!y.value) { - y.style.display = "table-row"; - } else { - y.style.display = "block"; - } + y.style.display = "block"; } } } |