Removing any onImageLoadError class name from images when they successfully load. r=ahocevar (closes #2407)

git-svn-id: http://svn.openlayers.org/trunk/openlayers@9940 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Tim Schaub
2010-01-08 21:14:04 +00:00
parent 9066c0e960
commit 44ba385429
2 changed files with 7 additions and 1 deletions

View File

@@ -362,6 +362,7 @@ OpenLayers.Util.onImageLoad = function() {
(this.map && this.viewRequestID == this.map.viewRequestID)) {
this.style.display = "";
}
OpenLayers.Element.removeClass(this, "olImageLoadError");
};
/**