Commit 5adf740a authored by Brandon Aaron's avatar Brandon Aaron

Fix for Safari crashes when doing DOM Manipulations

parent 2cefce05
...@@ -1495,7 +1495,9 @@ jQuery.extend({ ...@@ -1495,7 +1495,9 @@ jQuery.extend({
} }
arg = div.childNodes; arg = [];
for (var i=0, l=div.childNodes.length; i<l; i++)
arg.push(div.childNodes[i]);
} }
if ( arg.length === 0 && !jQuery.nodeName(arg, "form") ) if ( arg.length === 0 && !jQuery.nodeName(arg, "form") )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment