mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
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 ){
|
||||
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 )
|
||||
|
Loading…
Reference in New Issue
Block a user