Bug Tracker

Changeset 1594

Show
Ignore:
Timestamp:
03/25/07 20:28:34 (1 year ago)
Author:
john
Message:

Added fix for bug #945 (Finding items with an ID of length in IE and Opera).

Files:
1 modified

Legend:

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

    r1578 r1594  
    16271627     */ 
    16281628    merge: function(first, second) { 
    1629         for ( var i = 0, sl = second.length; i < sl; i++ ) 
     1629        // We have to loop this way because IE & Opera overwrite the length 
     1630        // expando of getElementsByTagName 
     1631        for ( var i = 0; second[i]; i++ ) 
    16301632            first.push(second[i]); 
    16311633