Permalink
Browse files
Fix feature test, accidentally got rid of closure end
- Loading branch information
Showing
with
7 additions
and
6 deletions.
-
+6
−5
src/attributes.js
-
+1
−1
src/support.js
|
@@ -475,10 +475,9 @@ if ( !jQuery.support.optSelected ) { |
|
|
} |
|
|
|
|
|
// IE6/7 do not support getting/setting some attributes with get/setAttribute |
|
|
|
|
|
if ( jQuery.support.attrFix ) { |
|
|
jQuery.extend(jQuery.attrFix, { |
|
|
"for": "htmlFor", |
|
|
jQuery.extend( jQuery.attrFix, { |
|
|
"for": "htmlFor", |
|
|
"class": "className", |
|
|
readonly: "readOnly", |
|
|
maxlength: "maxLength", |
|
@@ -488,5 +487,7 @@ if ( jQuery.support.attrFix ) { |
|
|
tabindex: "tabIndex", |
|
|
usemap: "useMap", |
|
|
frameborder: "frameBorder" |
|
|
}); |
|
|
}
|
|
|
}); |
|
|
} |
|
|
|
|
|
})( jQuery );
|
|
@@ -59,7 +59,7 @@ |
|
|
// (WebKit defaults to false instead of true, IE too, if it's in an optgroup) |
|
|
optSelected: opt.selected, |
|
|
|
|
|
attrFix: div.getAttribute("className") === "t", |
|
|
attrFix: div.className === "t", |
|
|
|
|
|
// Will be defined later |
|
|
deleteExpando: true, |
|
|
0 comments on commit
ebb8e8e