summaryrefslogtreecommitdiffhomepage
path: root/libs/cbi/htdocs/luci-static/resources
diff options
context:
space:
mode:
Diffstat (limited to 'libs/cbi/htdocs/luci-static/resources')
-rw-r--r--libs/cbi/htdocs/luci-static/resources/cbi.js6
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 a3a47aa45b..3abc3a9f52 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";
}
}
}