mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Fix for #910, for real this time.
This commit is contained in:
parent
670d2f4140
commit
46806957f4
2
src/jquery/jquery.js
vendored
2
src/jquery/jquery.js
vendored
@ -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 );
|
||||||
|
Loading…
Reference in New Issue
Block a user