Changeset 5463
- Timestamp:
- 05/06/08 01:29:13 (8 months ago)
- Files:
-
- 1 modified
-
trunk/jquery/src/core.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/jquery/src/core.js
r5462 r5463 1139 1139 // We have to loop this way because IE & Opera overwrite the length 1140 1140 // expando of getElementsByTagName 1141 1141 var i = 0; 1142 1142 // Also, we need to make sure that the correct elements are being returned 1143 1143 // (IE returns comment nodes in a '*' query) 1144 1144 if ( jQuery.browser.msie ) { 1145 for ( var i = 0; second[ i ]; i++ )1145 for ( ; second[ i ]; i++ ) 1146 1146 if ( second[ i ].nodeType != 8 ) 1147 1147 first.push( second[ i ] ); 1148 1148 1149 1149 } else 1150 for ( var i = 0; second[ i ]; i++ )1150 for ( ; second[ i ]; i++ ) 1151 1151 first.push( second[ i ] ); 1152 1152
