From e7834c8922ca2249258fcf583faadeebd5467bbc Mon Sep 17 00:00:00 2001 From: crschmidt Date: Fri, 6 Oct 2006 16:25:32 +0000 Subject: [PATCH] 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 --- lib/OpenLayers/BaseTypes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/OpenLayers/BaseTypes.js b/lib/OpenLayers/BaseTypes.js index 20de23cd7e..d156d61a1b 100644 --- a/lib/OpenLayers/BaseTypes.js +++ b/lib/OpenLayers/BaseTypes.js @@ -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;