aboutsummaryrefslogtreecommitdiffstats
path: root/src/jquery/jquery.js
diff options
context:
space:
mode:
authorBrandon Aaron <brandon.aaron@gmail.com>2007-05-13 05:53:49 +0000
committerBrandon Aaron <brandon.aaron@gmail.com>2007-05-13 05:53:49 +0000
commitff4f265bc0273bda0c8873d470aefa20170abc41 (patch)
treed3348d31c7eea03f8592383e1418881ba5f9c2b5 /src/jquery/jquery.js
parenta34a1a599bf84e3cbf189d6c4afb2d025649398c (diff)
downloadjquery-ff4f265bc0273bda0c8873d470aefa20170abc41.tar.gz
jquery-ff4f265bc0273bda0c8873d470aefa20170abc41.zip
Fix for #1162
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 8ef706204..d9292ed69 100644
--- a/src/jquery/jquery.js
+++ b/src/jquery/jquery.js
@@ -1523,7 +1523,7 @@ jQuery.extend({
if ( 0 === arg.length && !jQuery(arg).is("form, select") )
return;
- if ( arg[0] == undefined || jQuery(arg).is("form, select") )
+ if ( arg[0] == undefined || jQuery.nodeName(arg, "form") || arg.options )
r.push( arg );
else
r = jQuery.merge( r, arg );