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:
crschmidt
2006-10-06 16:25:32 +00:00
parent 9b73a9a4c9
commit e7834c8922

View File

@@ -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';
return value == 'auto' ? null : value;