Skip to content

Commit 2191ec6

Browse files
committed
Applied fix to correct file
1 parent e8d4775 commit 2191ec6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Resources/public/js/FpJsFormValidator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -749,7 +749,7 @@ var FpJsFormValidator = new function () {
749749
* @return {HTMLElement|null}
750750
*/
751751
this.findParentForm = function (child) {
752-
if ('form' == child.tagName.toLowerCase()) {
752+
if (child.tagName && 'form' == child.tagName.toLowerCase()) {
753753
return child;
754754
} else if (child.parentNode) {
755755
return this.findParentForm(child.parentNode);

0 commit comments

Comments
 (0)