Make sure setting opacity works on elements that have "no layout" in IE.
This commit is contained in:
parent
6ed9095df9
commit
6c94af703d
@ -1,5 +1,7 @@
|
||||
*SVN*
|
||||
|
||||
* Make sure setting opacity works on elements that have "no layout" in IE. [Thomas Fuchs]
|
||||
|
||||
* Simplify Class.create by establishing a prototype chain when subclassing. Closes #9342. [Ben Newman]
|
||||
|
||||
* Fix Ajax.PeriodicalUpdater for compatibility with Ajax.Response. Closes #9321. [kampers]
|
||||
|
@ -780,6 +780,7 @@ else if (Prototype.Browser.IE) {
|
||||
return filter.replace(/alpha\([^\)]*\)/gi,'');
|
||||
}
|
||||
element = $(element);
|
||||
if (!element.currentStyle.hasLayout) element.style.zoom = 1;
|
||||
var filter = element.getStyle('filter'), style = element.style;
|
||||
if (value == 1 || value === '') {
|
||||
(filter = stripAlpha(filter)) ?
|
||||
|
Loading…
Reference in New Issue
Block a user