diff --git a/core/src/main/resources/lib/form/section.jelly b/core/src/main/resources/lib/form/section.jelly index 1d7996823398..ddf11d2ce024 100644 --- a/core/src/main/resources/lib/form/section.jelly +++ b/core/src/main/resources/lib/form/section.jelly @@ -36,8 +36,7 @@ THE SOFTWARE. - - +
diff --git a/core/src/main/resources/lib/form/section_.js b/core/src/main/resources/lib/form/section_.js index b6f0732dc864..a243d76a5ecd 100644 --- a/core/src/main/resources/lib/form/section_.js +++ b/core/src/main/resources/lib/form/section_.js @@ -52,7 +52,7 @@ var section = (function (){ for (var e=dom.firstChild; e!=null; e=e.nextSibling) { if (e.nodeType==1) { - if (e.className=="section-header" && isVisible(e)) { + if (e.className === "jenkins-section__title" && isVisible(e)) { var child = new SectionNode(e); parent.children.push(child); // The next line seems to be unnecessary, as there are no children inside the section header itself.