aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJohn Resig <jeresig@gmail.com>2011-05-03 15:02:26 -0400
committerJohn Resig <jeresig@gmail.com>2011-05-03 15:02:26 -0400
commitbfad45fe4510db78a38170752ccc9c9efe5f38b6 (patch)
treeb90e36a8c5a38c89b3c0773f9716ffe89f000f19 /src
parent3cdffce19f8ce7a52b91f387872e3de804044f02 (diff)
downloadjquery-bfad45fe4510db78a38170752ccc9c9efe5f38b6.tar.gz
jquery-bfad45fe4510db78a38170752ccc9c9efe5f38b6.zip
Fix problem with appending multiple string arguments in IE 6. Fixes #9072.
Diffstat (limited to 'src')
-rw-r--r--src/manipulation.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/manipulation.js b/src/manipulation.js
index 610d19b7a..e9b1ee538 100644
--- a/src/manipulation.js
+++ b/src/manipulation.js
@@ -582,7 +582,7 @@ jQuery.extend({
context = context.ownerDocument || context[0] && context[0].ownerDocument || document;
}
- var ret = [];
+ var ret = [], j;
for ( var i = 0, elem; (elem = elems[i]) != null; i++ ) {
if ( typeof elem === "number" ) {
@@ -628,7 +628,7 @@ jQuery.extend({
div.childNodes :
[];
- for ( var j = tbody.length - 1; j >= 0 ; --j ) {
+ for ( j = tbody.length - 1; j >= 0 ; --j ) {
if ( jQuery.nodeName( tbody[ j ], "tbody" ) && !tbody[ j ].childNodes.length ) {
tbody[ j ].parentNode.removeChild( tbody[ j ] );
}
@@ -649,8 +649,8 @@ jQuery.extend({
var len;
if ( !jQuery.support.appendChecked ) {
if ( elem[0] && typeof (len = elem.length) === "number" ) {
- for ( i = 0; i < len; i++ ) {
- findInputs( elem[i] );
+ for ( j = 0; j < len; j++ ) {
+ findInputs( elem[j] );
}
} else {
findInputs( elem );