Skip to content

Commit

Permalink
jquery core: Reverting the changes added at [5480]
Browse files Browse the repository at this point in the history
  • Loading branch information
flesler committed May 7, 2008
1 parent a584f82 commit 4d41c71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core.js
Expand Up @@ -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 )
Expand Down

0 comments on commit 4d41c71

Please sign in to comment.