From 99bfb9a37d12207662996461c8436e839465224f Mon Sep 17 00:00:00 2001 From: euzuro Date: Mon, 5 Jun 2006 18:56:45 +0000 Subject: [PATCH] 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 --- lib/OpenLayers/Popup.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/OpenLayers/Popup.js b/lib/OpenLayers/Popup.js index 4212e47b9c..872ce21bd4 100644 --- a/lib/OpenLayers/Popup.js +++ b/lib/OpenLayers/Popup.js @@ -75,9 +75,6 @@ OpenLayers.Popup.prototype = { /** */ destroy: function() { - if ((this.div) && (this.div.parentNode)) { - this.div.parentNode.removeChild(this.div); - } this.div = null; this.map = null; },