From: Ariel Flesler Date: Wed, 7 May 2008 00:07:44 +0000 (+0000) Subject: jquery core: Reverting the changes added at [5480] X-Git-Url: http://git.asbjorn.it/?a=commitdiff_plain;h=4d41c71d3d923a1f38bd9ab320b8875fcc297639;p=jquery.git jquery core: Reverting the changes added at [5480] --- diff --git a/src/core.js b/src/core.js index 9752fb1..500e400 100644 --- a/src/core.js +++ b/src/core.js @@ -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 )