diff options
author | Brandon Aaron <brandon.aaron@gmail.com> | 2007-02-07 15:06:49 +0000 |
---|---|---|
committer | Brandon Aaron <brandon.aaron@gmail.com> | 2007-02-07 15:06:49 +0000 |
commit | ecaa4d4570b05610d542b971fc4278de3c251e79 (patch) | |
tree | 6be111ba138062015eb7f9682d76ed88b770ea13 /src/jquery/jquery.js | |
parent | 980b5d72dba596483be586a276d3a385519ee7ef (diff) | |
download | jquery-ecaa4d4570b05610d542b971fc4278de3c251e79.tar.gz jquery-ecaa4d4570b05610d542b971fc4278de3c251e79.zip |
Fix for #910
Diffstat (limited to 'src/jquery/jquery.js')
-rw-r--r-- | src/jquery/jquery.js | 2 |
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 ); |