*Always test before committing*. One of these days, I will teach myself to
be a diligent committer. I promise. git-svn-id: http://svn.openlayers.org/trunk/openlayers@1500 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -439,7 +439,7 @@ OpenLayers.Map.prototype = {
|
|||||||
this.popups.remove(popup);
|
this.popups.remove(popup);
|
||||||
if (popup.div) {
|
if (popup.div) {
|
||||||
try { this.layerContainerDiv.removeChild(popup.div); }
|
try { this.layerContainerDiv.removeChild(popup.div); }
|
||||||
catch { } // Popups sometimes apparently get disconnected
|
catch (e) { } // Popups sometimes apparently get disconnected
|
||||||
// from the layerContainerDiv, and cause complaints.
|
// from the layerContainerDiv, and cause complaints.
|
||||||
}
|
}
|
||||||
popup.map = null;
|
popup.map = null;
|
||||||
|
|||||||
Reference in New Issue
Block a user