*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:
crschmidt
2006-09-22 13:55:10 +00:00
parent dabba5ef41
commit 003f00bc22

View File

@@ -439,7 +439,7 @@ OpenLayers.Map.prototype = {
this.popups.remove(popup);
if (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.
}
popup.map = null;