not sure if this is necessary or not, but just in case
git-svn-id: http://svn.openlayers.org/trunk/openlayers@521 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -23,7 +23,7 @@ OpenLayers.Tile.Image.prototype =
|
||||
},
|
||||
|
||||
destroy: function() {
|
||||
if ((this.img) && (this.img.parentNode == this.layer.div)) {
|
||||
if ((this.img != null) && (this.img.parentNode == this.layer.div)) {
|
||||
this.layer.div.removeChild(this.img);
|
||||
}
|
||||
this.img = null;
|
||||
|
||||
Reference in New Issue
Block a user