diff --git a/leaflet-core.html b/leaflet-core.html index 1785909..0afcfaf 100644 --- a/leaflet-core.html +++ b/leaflet-core.html @@ -723,7 +723,8 @@ }, detached: function() { - this._mutationObserver.disconnect(); + if(this._mutationObserver) + this._mutationObserver.disconnect(); }, _viewChanged: function(newValue, oldValue) { diff --git a/leaflet-layer-group.html b/leaflet-layer-group.html index 98d8b5f..5e343f8 100644 --- a/leaflet-layer-group.html +++ b/leaflet-layer-group.html @@ -17,7 +17,7 @@ --> -