Skip to content
Permalink
Browse files

jquery core: fix for [5828]. Put 'function' instead of 'string'.

  • Loading branch information
flesler committed Aug 14, 2008
1 parent ec146fc commit b69dc841ff6d3a3a9bcb8ebe107f1d1cad8a634f
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core.js
@@ -1133,7 +1133,7 @@ jQuery.extend({
if( array != null ){
var i = array.length;
// The window, strings (and functions) also have 'length'
if( i == null || typeof array == 'function' || array.setInterval )
if( i == null || typeof array == 'string' || array.setInterval )
ret[0] = array;
else
while( i )

0 comments on commit b69dc84

Please sign in to comment.
You can’t perform that action at this time.