Skip to content

Commit

Permalink
Fix for 193
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonaaron committed Oct 11, 2006
1 parent 8365b37 commit dde208f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/jquery/jquery.js
Original file line number Diff line number Diff line change
Expand Up @@ -1461,6 +1461,9 @@ jQuery.extend({

if (prop == 'opacity' && jQuery.browser.msie)
return jQuery.attr(elem.style, 'opacity');

if (prop == "float" || prop == "cssFloat")
prop = jQuery.browser.msie ? "styleFloat" : "cssFloat";

if (!force && elem.style[prop]) {

Expand Down Expand Up @@ -1824,7 +1827,8 @@ jQuery.extend({
var fix = {
"for": "htmlFor",
"class": "className",
"float": "cssFloat",
"float": jQuery.browser.msie ? "styleFloat" : "cssFloat",
cssFloat: fix["float"],
innerHTML: "innerHTML",
className: "className",
value: "value",
Expand Down

0 comments on commit dde208f

Please sign in to comment.