diff --git a/data/js/controls.js b/data/js/controls.js
index 5191b0e..76d5f4e 100644
--- a/data/js/controls.js
+++ b/data/js/controls.js
@@ -263,6 +263,7 @@ function start() {
} else {
parent = $("#row");
}
+ if (data.visible) {
parent.append(
"
" +
""
);
+ }
break;
case UI_TEXT_INPUT:
@@ -535,6 +546,7 @@ function start() {
} else {
parent = $("#row");
}
+ if (data.visible) {
parent.append(
"" +
""
);
+ }
break;
case UI_TAB:
+ if (data.visible) {
$("#tabsnav").append(
"" + data.value + ""
);
@@ -574,6 +588,7 @@ function start() {
}
e.preventDefault();
});
+ }
break;
case UI_SELECT:
@@ -583,6 +598,7 @@ function start() {
} else {
parent = $("#row");
}
+ if (data.visible) {
parent.append(
"" +
""
);
+ }
break;
case UI_OPTION:
@@ -651,6 +668,7 @@ function start() {
} else {
parent = $("#row");
}
+ if (data.visible) {
parent.append(
"" +
""
);
+ }
break;
case UI_ACCEL:
@@ -719,6 +740,7 @@ function start() {
parent = $("#row");
}
hasAccel = true;
+ if (data.visible) {
parent.append(
"