jquery core: Reverting the changes added at [5480]

This commit is contained in:
Ariel Flesler 2008-05-07 00:07:44 +00:00
parent a584f82aef
commit 4d41c71d3d

View File

@ -1111,8 +1111,8 @@ jQuery.extend({
if( array != null ){
var i = array.length;
//the window, forms, strings and functions also have 'length'
if( i == null || array.split || array.setInterval || array.call || array.elements )
//the window, strings and functions also have 'length'
if( i == null || array.split || array.setInterval || array.call )
ret[0] = array;
else
while( i )