Skip to content

Commit

Permalink
Fix feature test, accidentally got rid of closure end
Browse files Browse the repository at this point in the history
  • Loading branch information
timmywil committed Apr 3, 2011
1 parent 00abeae commit ebb8e8e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
11 changes: 6 additions & 5 deletions src/attributes.js
Expand Up @@ -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",
Expand All @@ -488,5 +487,7 @@ if ( jQuery.support.attrFix ) {
tabindex: "tabIndex", tabindex: "tabIndex",
usemap: "useMap", usemap: "useMap",
frameborder: "frameBorder" frameborder: "frameBorder"
}); });
} }

})( jQuery );
2 changes: 1 addition & 1 deletion src/support.js
Expand Up @@ -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,
Expand Down

0 comments on commit ebb8e8e

Please sign in to comment.