aboutsummaryrefslogtreecommitdiffstats
path: root/src/jquery/jquery.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/jquery/jquery.js')
-rw-r--r--src/jquery/jquery.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js
index cdd614c2f..1eb211a76 100644
--- a/src/jquery/jquery.js
+++ b/src/jquery/jquery.js
@@ -1470,7 +1470,7 @@ jQuery.extend({
if ( arg.length === 0 )
return;
- if ( arg[0] == undefined )
+ if ( arg[0] == undefined || jQuery.nodeName(arg,"form") )
r.push( arg );
else
r = jQuery.merge( r, arg );