Removing unused image load error handling code. r=fredj (closes #3420)

This commit is contained in:
ahocevar
2011-10-05 14:51:22 -04:00
parent 4c610135fd
commit 91cd42bfe6
4 changed files with 8 additions and 122 deletions

View File

@@ -32,17 +32,6 @@
map.addLayer(layer);
map.setCenter(new OpenLayers.LonLat(0, 0), 0);
}
OpenLayers.Util.onImageLoadError = function() {
/**
* For images that don't exist in the cache, you can display
* a default image - one that looks like water for example.
* To show nothing at all, leave the following lines commented out.
*/
//this.src = "../img/blank.gif";
//this.style.display = "";
};
</script>
</head>
<body onload="init()">