Reversing the order we set opacity changes the behavior when using VE, but
nothing else. This fixes the fact that you can't use client side opacity while including the Virtual Earth javascript. Thanks for the spot from Jeff Yutzler. Includes a manual test. (Closes #1175) git-svn-id: http://svn.openlayers.org/trunk/openlayers@5326 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -171,8 +171,8 @@ OpenLayers.Util.modifyDOMElement = function(element, id, px, sz, position,
|
||||
element.style.overflow = overflow;
|
||||
}
|
||||
if (opacity) {
|
||||
element.style.opacity = opacity;
|
||||
element.style.filter = 'alpha(opacity=' + (opacity * 100) + ')';
|
||||
element.style.opacity = opacity;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user