Fix for 193

This commit is contained in:
Brandon Aaron 2006-10-11 04:23:04 +00:00
parent 8365b37c48
commit dde208fc4b

View file

@ -1461,6 +1461,9 @@ jQuery.extend({
if (prop == 'opacity' && jQuery.browser.msie) if (prop == 'opacity' && jQuery.browser.msie)
return jQuery.attr(elem.style, 'opacity'); return jQuery.attr(elem.style, 'opacity');
if (prop == "float" || prop == "cssFloat")
prop = jQuery.browser.msie ? "styleFloat" : "cssFloat";
if (!force && elem.style[prop]) { if (!force && elem.style[prop]) {
@ -1824,7 +1827,8 @@ jQuery.extend({
var fix = { var fix = {
"for": "htmlFor", "for": "htmlFor",
"class": "className", "class": "className",
"float": "cssFloat", "float": jQuery.browser.msie ? "styleFloat" : "cssFloat",
cssFloat: fix["float"],
innerHTML: "innerHTML", innerHTML: "innerHTML",
className: "className", className: "className",
value: "value", value: "value",