Skip to content

Commit a69c33c

Browse files
Some ContributorKagetsume
authored andcommitted
Squashed commit of the following:
commit 1f58495 Author: Jared Jurkiewicz <jared.jurkiewicz@gmail.com> Date: Thu Jun 26 11:03:00 2014 -0400 Fix issue with parentNode as null, fixes #18130
1 parent 395cbc1 commit a69c33c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

request/iframe.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ define([
179179
var parentNode = formNode;
180180
do{
181181
parentNode = parentNode.parentNode;
182-
}while(parentNode !== win.doc.documentElement);
182+
}while(parentNode && parentNode !== win.doc.documentElement);
183183

184184
// Append the form node or some browsers won't work
185185
if(!parentNode){

0 commit comments

Comments
 (0)