We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 851e3e5 + 395b553 commit a1f9d3eCopy full SHA for a1f9d3e
core/src/main/resources/lib/form/repeatable/repeatable.js
@@ -143,11 +143,11 @@ var repeatableSupport = {
143
// called when 'add' button is clicked
144
onAdd: function (n) {
145
var addOnTop = false;
146
+ if (n.classList.contains("repeatable-add-top")) {
147
+ addOnTop = true;
148
+ }
149
while (n.tag == null) {
150
n = n.parentNode;
- if (n.classList.contains("repeatable-add-top")) {
- addOnTop = true;
- }
151
}
152
n.tag.expand(addOnTop);
153
// Hack to hide tool home when a new tool has some installers.
0 commit comments