OpenLayers has been broken in Opera since we removed prototype. Now it's not.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1657 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -756,7 +756,7 @@ OpenLayers.Element = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (window.opera && ['left', 'top', 'right', 'bottom'].include(style))
|
if (window.opera && OpenLayers.Util.indexOf(['left', 'top', 'right', 'bottom'],style) != -1)
|
||||||
if (OpenLayers.Element.getStyle(element, 'position') == 'static') value = 'auto';
|
if (OpenLayers.Element.getStyle(element, 'position') == 'static') value = 'auto';
|
||||||
|
|
||||||
return value == 'auto' ? null : value;
|
return value == 'auto' ? null : value;
|
||||||
|
|||||||
Reference in New Issue
Block a user