Fix for #910, for real this time.

This commit is contained in:
Brandon Aaron 2007-02-08 21:59:50 +00:00
parent 670d2f4140
commit 46806957f4

View File

@ -1470,7 +1470,7 @@ jQuery.extend({
if ( arg.length === 0 ) if ( arg.length === 0 )
return; return;
if ( arg[0] == undefined || jQuery.nodeName(arg,"form") ) if ( arg[0] == undefined || jQuery.nodeName(arg[0],"form") )
r.push( arg ); r.push( arg );
else else
r = jQuery.merge( r, arg ); r = jQuery.merge( r, arg );