]> source.dussan.org Git - jquery.git/commitdiff
jquery core: Reverting the changes added at [5480]
authorAriel Flesler <aflesler@gmail.com>
Wed, 7 May 2008 00:07:44 +0000 (00:07 +0000)
committerAriel Flesler <aflesler@gmail.com>
Wed, 7 May 2008 00:07:44 +0000 (00:07 +0000)
src/core.js

index 9752fb16292f7fcf6f14b2aa951f76f9e529de03..500e400d9f0295ce6f2a3c55def9d0d5e61ab7de 100644 (file)
@@ -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 )