We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aaa288d commit dae26d1Copy full SHA for dae26d1
1 file changed
src/jquery.formset.js
@@ -114,14 +114,14 @@
114
// Hide any labels associated with the DELETE checkbox:
115
$('label[for="' + del.attr('id') + '"]').hide();
116
del.remove();
117
- }
118
- if (hasChildElements(row)) {
119
- row.addClass(options.formCssClass);
120
- if (row.is(':visible')) {
121
- insertDeleteLink(row);
122
- applyExtraClasses(row, i);
+ if (hasChildElements(row)) {
+ row.addClass(options.formCssClass);
+ if (row.is(':visible')) {
+ insertDeleteLink(row);
+ applyExtraClasses(row, i);
+ }
123
}
124
125
});
126
127
if ($$.length) {
0 commit comments