diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js index 48d7447f4..cc89fff70 100644 --- a/src/jquery/jquery.js +++ b/src/jquery/jquery.js @@ -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") )