Ignore:
Timestamp:
Aug 31, 2011, 4:21:00 PM (13 years ago)
Author:
rick
Message:

Fix initial IE errors, reported by Martijn.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/django_gheat/wlheatmap/templates/js/LayerBase.js

    r9596 r9641  
    2222    if (this.src.match(/^http:\/\/[abc]\.[a-z]+\.openstreetmap\.org\//)) {
    2323        this.src = OpenLayers.Util.OSM.MISSING_TILE_URL;
    24     } else if (this.src.match(/^http:\/\/[def]\.tah\.openstreetmap\.org\//)) {
    25         // do nothing - this layer is transparent
    26     } else {
     24    } if (this.src.match(/^http:\/\/[def]\.tah\.openstreetmap\.org\//) == null) {
    2725        OpenLayers.Util.OSM.originalOnImageLoadError;
    2826    }
Note: See TracChangeset for help on using the changeset viewer.