Commit 07aa989c authored by John Resig's avatar John Resig

Fixed the Safari crashing bug. So much hate.

parent c6904721
...@@ -1436,7 +1436,7 @@ jQuery.extend({ ...@@ -1436,7 +1436,7 @@ jQuery.extend({
arg = div.childNodes; arg = div.childNodes;
} }
if ( arg.nodeType ) if ( arg[0] == undefined )
r.push( arg ); r.push( arg );
else else
r = jQuery.merge( r, arg ); r = jQuery.merge( r, arg );
......
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