Bug Tracker

Changeset 5829

Show
Ignore:
Timestamp:
08/14/08 14:03:05 (11 months ago)
Author:
aflesler
Message:

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

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/jquery/src/core.js

    r5828 r5829  
    11341134            var i = array.length; 
    11351135            // The window, strings (and functions) also have 'length' 
    1136             if( i == null || typeof array == 'function' || array.setInterval ) 
     1136            if( i == null || typeof array == 'string' || array.setInterval ) 
    11371137                ret[0] = array; 
    11381138            else