From 4d41c71d3d923a1f38bd9ab320b8875fcc297639 Mon Sep 17 00:00:00 2001 From: Ariel Flesler Date: Wed, 7 May 2008 00:07:44 +0000 Subject: [PATCH] jquery core: Reverting the changes added at [5480] --- src/core.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ) -- 2.39.5