Skip to content
Permalink
Browse files
Clean up for revision 1462: "Fix for Safari crashes when doing DOM Ma…
…nipulations" to use jQuery.makeArray
  • Loading branch information
brandonaaron committed Mar 9, 2007
1 parent 2b9b3e9 commit a6886d0904320f6eeb05bc85d98550c74cb0c088
Showing 1 changed file with 1 addition and 3 deletions.
@@ -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") )

0 comments on commit a6886d0

Please sign in to comment.