mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
IE is now forced layout if it doesn't have it (such that opacity now works as expected). (Ticket #4).
This commit is contained in:
parent
aabfccf371
commit
4c572bdf56
5
fx/fx.js
5
fx/fx.js
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user