OpenLayers OpenLayers

Changeset 6628

Show
Ignore:
Timestamp:
03/26/08 22:06:40 (10 months ago)
Author:
euzuro
Message:

turns out the Element.getStyle() function is all sorts of wierd and for whatever reason: in FF, it correctly determines that the overflow is 'auto', but the last line changes the return value to 'null'. In ie6, however, it reads the overflow value as 'visible', which makes no sense at all. How to simplify this? well we simply will make sure it's *not* hidden. bingo

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • sandbox/euzuro/pop/lib/OpenLayers/Popup.js

    r6625 r6628  
    530530                        this.contentDiv, "overflow" 
    531531                    ); 
    532                     if ( (currentOverflow == "auto") &&  
     532                    if ( (currentOverflow != "hidden") &&  
    533533                         (clippedSize.equals(safeSize)) ) { 
    534534                        var scrollBar = OpenLayers.Util.getScrollbarWidth();