Else protecting dom opacity access.

This commit is contained in:
Ross Boucher
2008-10-13 20:11:22 -07:00
parent 0997042dcd
commit 59b7c55ba2
+3 -1
View File
@@ -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
}