mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Fix feature test, accidentally got rid of closure end
This commit is contained in:
parent
00abeaee17
commit
ebb8e8e300
@ -475,10 +475,9 @@ if ( !jQuery.support.optSelected ) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// IE6/7 do not support getting/setting some attributes with get/setAttribute
|
// IE6/7 do not support getting/setting some attributes with get/setAttribute
|
||||||
|
|
||||||
if ( jQuery.support.attrFix ) {
|
if ( jQuery.support.attrFix ) {
|
||||||
jQuery.extend(jQuery.attrFix, {
|
jQuery.extend( jQuery.attrFix, {
|
||||||
"for": "htmlFor",
|
"for": "htmlFor",
|
||||||
"class": "className",
|
"class": "className",
|
||||||
readonly: "readOnly",
|
readonly: "readOnly",
|
||||||
maxlength: "maxLength",
|
maxlength: "maxLength",
|
||||||
@ -488,5 +487,7 @@ if ( jQuery.support.attrFix ) {
|
|||||||
tabindex: "tabIndex",
|
tabindex: "tabIndex",
|
||||||
usemap: "useMap",
|
usemap: "useMap",
|
||||||
frameborder: "frameBorder"
|
frameborder: "frameBorder"
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
})( jQuery );
|
@ -59,7 +59,7 @@
|
|||||||
// (WebKit defaults to false instead of true, IE too, if it's in an optgroup)
|
// (WebKit defaults to false instead of true, IE too, if it's in an optgroup)
|
||||||
optSelected: opt.selected,
|
optSelected: opt.selected,
|
||||||
|
|
||||||
attrFix: div.getAttribute("className") === "t",
|
attrFix: div.className === "t",
|
||||||
|
|
||||||
// Will be defined later
|
// Will be defined later
|
||||||
deleteExpando: true,
|
deleteExpando: true,
|
||||||
|
Loading…
Reference in New Issue
Block a user