Skip to content

Commit

Permalink
jscs
Browse files Browse the repository at this point in the history
  • Loading branch information
Fedik committed Oct 2, 2021
1 parent eee0259 commit f4b0dc2
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -269,9 +269,9 @@
if (el.nodeName === 'JOOMLA-FIELD-SUBFORM') {
// Skip self in .closest() call
return el.parentElement.closest('joomla-field-subform') === this;
} else {
return el.closest('joomla-field-subform') === this;
}

return el.closest('joomla-field-subform') === this;
});

haveName.forEach((elem) => {
Expand Down

0 comments on commit f4b0dc2

Please sign in to comment.