Skip to content
Permalink
Browse files

IE is now forced layout if it doesn't have it (such that opacity now …

…works as expected). (Ticket #4).
  • Loading branch information
jeresig committed Jun 16, 2006
1 parent aabfccf commit 4c572bdf56a95c6462027d18d80e6ed6cebbfd3e
Showing with 5 additions and 0 deletions.
  1. +5 −0 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
z.oldOverflow = y.overflow;

0 comments on commit 4c572bd

Please sign in to comment.
You can’t perform that action at this time.