diff options
author | timmywil <tim.willison@thisismedium.com> | 2011-03-11 15:59:34 -0500 |
---|---|---|
committer | timmywil <tim.willison@thisismedium.com> | 2011-04-03 19:13:39 -0400 |
commit | ebb8e8e300be5da2671f62e939551bd3c859e81e (patch) | |
tree | 82e9bf34cd29d70165975366f98fa02455e33a89 | |
parent | 00abeaee17a0eed8422a15ff5d48f4011490953b (diff) | |
download | jquery-ebb8e8e300be5da2671f62e939551bd3c859e81e.tar.gz jquery-ebb8e8e300be5da2671f62e939551bd3c859e81e.zip |
Fix feature test, accidentally got rid of closure end
-rw-r--r-- | src/attributes.js | 11 | ||||
-rw-r--r-- | src/support.js | 2 |
2 files changed, 7 insertions, 6 deletions
diff --git a/src/attributes.js b/src/attributes.js index d6179a126..82ebe7279 100644 --- a/src/attributes.js +++ b/src/attributes.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" - }); -}
\ No newline at end of file + }); +} + +})( jQuery );
\ No newline at end of file diff --git a/src/support.js b/src/support.js index 3ca28d204..ebda569f4 100644 --- a/src/support.js +++ b/src/support.js @@ -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, |