OpenLayers OpenLayers

Changeset 6625

Show
Ignore:
Timestamp:
03/26/08 19:43:45 (10 months ago)
Author:
euzuro
Message:

use our xbrowser OpenLayers.Element class to get this style.

Files:

Legend:

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

    r6615 r6625  
    527527                    // adjust for that. 
    528528                    // 
    529                     var style = document.defaultView.getComputedStyle( 
    530                         this.contentDiv, null 
     529                    var currentOverflow = OpenLayers.Element.getStyle( 
     530                        this.contentDiv, "overflow" 
    531531                    ); 
    532                     var currentOverflow = style.getPropertyValue("overflow"); 
    533532                    if ( (currentOverflow == "auto") &&  
    534533                         (clippedSize.equals(safeSize)) ) {