mirror of
https://github.com/jquery/jquery.git
synced 2026-01-26 02:48:04 -05:00
Added fix for bug #945 (Finding items with an ID of length in IE and Opera).
This commit is contained in:
4
src/jquery/jquery.js
vendored
4
src/jquery/jquery.js
vendored
@@ -1626,7 +1626,9 @@ jQuery.extend({
|
||||
* @cat JavaScript
|
||||
*/
|
||||
merge: function(first, second) {
|
||||
for ( var i = 0, sl = second.length; i < sl; i++ )
|
||||
// We have to loop this way because IE & Opera overwrite the length
|
||||
// expando of getElementsByTagName
|
||||
for ( var i = 0; second[i]; i++ )
|
||||
first.push(second[i]);
|
||||
|
||||
return first;
|
||||
|
||||
Reference in New Issue
Block a user