From: Brandon Aaron Date: Sun, 11 Mar 2007 20:03:45 +0000 (+0000) Subject: Fix for Rev 1511 X-Git-Url: http://git.asbjorn.it/?a=commitdiff_plain;ds=inline;h=109e4b2987d78bf67a45aba3e62c29958aeb8d91;p=jquery.git Fix for Rev 1511 --- diff --git a/src/jquery/jquery.js b/src/jquery/jquery.js index 48d7447..cc89fff 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") )