Commit 4c572bdf authored by John Resig's avatar John Resig

IE is now forced layout if it doesn't have it (such that opacity now works as...

IE is now forced layout if it doesn't have it (such that opacity now works as expected). (Ticket #4).
parent aabfccf3
...@@ -211,6 +211,11 @@ $.fx = function(el,op,ty){ ...@@ -211,6 +211,11 @@ $.fx = function(el,op,ty){
} }
}; };
// IE has trouble with opacity if it doesn't have layout
if ( $.browser == "msie" && !z.el.currentStyle.hasLayout ) {
y.zoom = 1;
}
// Remember the overflow of the element // Remember the overflow of the element
z.oldOverflow = y.overflow; z.oldOverflow = y.overflow;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment