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:
@@ -362,6 +362,7 @@ OpenLayers.Util.onImageLoad = function() {
|
||||
(this.map && this.viewRequestID == this.map.viewRequestID)) {
|
||||
this.style.display = "";
|
||||
}
|
||||
OpenLayers.Element.removeClass(this, "olImageLoadError");
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user