aboutsummaryrefslogtreecommitdiffstats
path: root/web/js
diff options
context:
space:
mode:
Diffstat (limited to 'web/js')
-rw-r--r--web/js/map-OpenStreetMap.js2
-rw-r--r--web/js/map-streetview.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/web/js/map-OpenStreetMap.js b/web/js/map-OpenStreetMap.js
index 92d98ea4c..58117aabf 100644
--- a/web/js/map-OpenStreetMap.js
+++ b/web/js/map-OpenStreetMap.js
@@ -37,7 +37,7 @@ OpenLayers.Util.onImageLoadError = function() {
} else if (this.src.match(/^http:\/\/[def]\.tah\.openstreetmap\.org\//)) {
// do nothing - this layer is transparent
} else {
- OpenLayers.Util.OSM.originalOnImageLoadError;
+ OpenLayers.Util.OSM.originalOnImageLoadError();
}
};
diff --git a/web/js/map-streetview.js b/web/js/map-streetview.js
index 9cdd82072..b1ba3664d 100644
--- a/web/js/map-streetview.js
+++ b/web/js/map-streetview.js
@@ -32,7 +32,7 @@ OpenLayers.Util.OS.originalOnImageLoadError = OpenLayers.Util.onImageLoadError;
* Function: onImageLoadError
*/
OpenLayers.Util.onImageLoadError = function() {
- OpenLayers.Util.OS.originalOnImageLoadError;
+ OpenLayers.Util.OS.originalOnImageLoadError();
};
/**