From: Ariel Flesler Date: Wed, 7 May 2008 00:07:44 +0000 (+0000) Subject: jquery core: Reverting the changes added at [5480] X-Git-Tag: 1.2.4b~28 X-Git-Url: https://source.dussan.org/?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 9752fb162..500e400d9 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 )