Fixed the Safari crashing bug. So much hate.

This commit is contained in:
John Resig 2007-01-11 03:57:19 +00:00
parent c690472135
commit 07aa989ce9

View file

@ -1436,7 +1436,7 @@ jQuery.extend({
arg = div.childNodes;
}
if ( arg.nodeType )
if ( arg[0] == undefined )
r.push( arg );
else
r = jQuery.merge( r, arg );