mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-06 00:52:58 +00:00
Else protecting dom opacity access.
This commit is contained in:
1 parent
0997042dcd
commit
59b7c55ba2
1 file changed
+3
-1
+3
-1
@@ -934,7 +934,6 @@ var DOMElementPrototype = nil,
|
||||
_opacity = anAlphaValue;
|
||||
|
||||
#if PLATFORM(DOM)
|
||||
_DOMElement.style.opacity = anAlphaValue;
|
||||
|
||||
if (CPFeatureIsCompatible(CPOpacityRequiresFilterFeature))
|
||||
{
|
||||
@@ -943,6 +942,9 @@ var DOMElementPrototype = nil,
|
||||
else
|
||||
_DOMElement.style.filter = "alpha(opacity=" + anAlphaValue * 100 + ")";
|
||||
}
|
||||
else
|
||||
_DOMElement.style.opacity = anAlphaValue;
|
||||
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user