Permalink
Browse files

Merge branch 'pr/n4_blomm'

  • Loading branch information...
2 parents 228288f + f6e1e2c commit b54e214599a7def775e12874e7c95c8dcdecfc38 @ismyrnow committed Feb 1, 2014
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/leaflet.groupedlayercontrol.js
@@ -146,6 +146,7 @@ L.Control.GroupedLayers = L.Control.extend({
this._baseLayersList.innerHTML = '';
this._overlaysList.innerHTML = '';
+ this._domGroups.length = 0;
var baseLayersPresent = false,
overlaysPresent = false,
@@ -282,4 +283,4 @@ L.Control.GroupedLayers = L.Control.extend({
L.control.groupedLayers = function (baseLayers, groupedOverlays, options) {
return new L.Control.GroupedLayers(baseLayers, groupedOverlays, options);
-};
+};

0 comments on commit b54e214

Please sign in to comment.