]> source.dussan.org Git - jquery.git/commitdiff
Fix for Rev 1511
authorBrandon Aaron <brandon.aaron@gmail.com>
Sun, 11 Mar 2007 20:03:45 +0000 (20:03 +0000)
committerBrandon Aaron <brandon.aaron@gmail.com>
Sun, 11 Mar 2007 20:03:45 +0000 (20:03 +0000)
src/jquery/jquery.js

index 48d7447f4b802f0cae71c8e1ad6a6ed78b4f2a7e..cc89fff70c36a93434abc646213203bbf3103e7b 100644 (file)
@@ -1495,7 +1495,7 @@ jQuery.extend({
                                        
                                }
                                
-                               arg = jQuery.makeArray( div.childNodes[i] );
+                               arg = jQuery.makeArray( div.childNodes );
                        }
 
                        if ( arg.length === 0 && !jQuery.nodeName(arg, "form") )