OpenLayers OpenLayers

Changeset 1657

Show
Ignore:
Timestamp:
10/06/06 12:25:32 (2 years ago)
Author:
crschmidt
Message:

OpenLayers has been broken in Opera since we removed prototype. Now it's not.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/openlayers/lib/OpenLayers/BaseTypes.js

    r1652 r1657  
    757757    } 
    758758 
    759     if (window.opera && ['left', 'top', 'right', 'bottom'].include(style)
     759    if (window.opera && OpenLayers.Util.indexOf(['left', 'top', 'right', 'bottom'],style) != -1
    760760      if (OpenLayers.Element.getStyle(element, 'position') == 'static') value = 'auto'; 
    761761