do not let the popup remove itself from parent div. that would be poor form.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@525 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -75,9 +75,6 @@ OpenLayers.Popup.prototype = {
|
|||||||
/**
|
/**
|
||||||
*/
|
*/
|
||||||
destroy: function() {
|
destroy: function() {
|
||||||
if ((this.div) && (this.div.parentNode)) {
|
|
||||||
this.div.parentNode.removeChild(this.div);
|
|
||||||
}
|
|
||||||
this.div = null;
|
this.div = null;
|
||||||
this.map = null;
|
this.map = null;
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user