JENKINS-64040 JENKINS-64136 Fix hidden page elements from radio blocks showing up when they shouldn't (#5046)

This commit is contained in:
Tim Jacomb authored and GitHub committed 2020-11-07 08:44:23 +00:00
1 parent 77f24bfb9a
commit ffe0fa8a53
1 file changed
+1 -7
@@ -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();
}