JENKINS-64136 Fix hidden page elements from radio blocks showing up when they shouldn't
@@ -18,13 +18,7 @@ var radioBlockSupport = {
n = blockStart;
}
while((n = n.next()) != blockEnd) {
- if (show) {
- n.style.visibility = "visible";
- n.style.position = "static";
- } else {
- n.style.visibility = "hidden";
- n.style.position = "absolute";
- }
+ n.style.display = show ? "" : "none";
}
layoutUpdateCallback.call();
}
