mirror of
https://github.com/jquery/jquery.git
synced 2025-01-10 18:24:24 +00:00
Fix for Safari crashes when doing DOM Manipulations
This commit is contained in:
parent
2cefce05c8
commit
5adf740a15
4
src/jquery/jquery.js
vendored
4
src/jquery/jquery.js
vendored
@ -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") )
|
||||
|
Loading…
Reference in New Issue
Block a user