Skip to content

Commit aa4918e

Browse files
committed
Applied fix to correct file
1 parent 2a19a5f commit aa4918e

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
@@ -774,7 +774,7 @@ var FpJsFormValidator = new function () {
774774
* @return {HTMLElement|null}
775775
*/
776776
this.findParentForm = function (child) {
777-
if ('form' == child.tagName.toLowerCase()) {
777+
if (child.tagName && 'form' == child.tagName.toLowerCase()) {
778778
return child;
779779
} else if (child.parentNode) {
780780
return this.findParentForm(child.parentNode);

0 commit comments

Comments
 (0)