Clean up for revision 1462: "Fix for Safari crashes when doing DOM Manipulations" to use jQuery.makeArray
This commit is contained in:
parent
2b9b3e90c1
commit
a6886d0904
1 changed files with 1 additions and 3 deletions
4
src/jquery/jquery.js
vendored
4
src/jquery/jquery.js
vendored
|
@ -1495,9 +1495,7 @@ jQuery.extend({
|
|||
|
||||
}
|
||||
|
||||
arg = [];
|
||||
for (var i=0, l=div.childNodes.length; i<l; i++)
|
||||
arg.push(div.childNodes[i]);
|
||||
arg = jQuery.makeArray( div.childNodes[i] );
|
||||
}
|
||||
|
||||
if ( arg.length === 0 && !jQuery.nodeName(arg, "form") )
|
||||
|
|
Loading…
Reference in a new issue