jquery core: Reverting the changes added at [5480]
This commit is contained in:
parent
a584f82aef
commit
4d41c71d3d
|
@ -1111,8 +1111,8 @@ jQuery.extend({
|
||||||
|
|
||||||
if( array != null ){
|
if( array != null ){
|
||||||
var i = array.length;
|
var i = array.length;
|
||||||
//the window, forms, strings and functions also have 'length'
|
//the window, strings and functions also have 'length'
|
||||||
if( i == null || array.split || array.setInterval || array.call || array.elements )
|
if( i == null || array.split || array.setInterval || array.call )
|
||||||
ret[0] = array;
|
ret[0] = array;
|
||||||
else
|
else
|
||||||
while( i )
|
while( i )
|
||||||
|
|
Loading…
Reference in a new issue