]> source.dussan.org Git - jquery.git/commitdiff
Fix for #910, for real this time.
authorBrandon Aaron <brandon.aaron@gmail.com>
Thu, 8 Feb 2007 21:59:50 +0000 (21:59 +0000)
committerBrandon Aaron <brandon.aaron@gmail.com>
Thu, 8 Feb 2007 21:59:50 +0000 (21:59 +0000)
src/jquery/jquery.js

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