From fddad2f892983e24dbbcc51274f24c0278d8138e Mon Sep 17 00:00:00 2001 From: danzel Date: Fri, 13 Jul 2012 11:30:17 +1200 Subject: [PATCH] Woops, fix the IE code. --- src/MarkerClusterGroup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MarkerClusterGroup.js b/src/MarkerClusterGroup.js index 95b788d5f..83aa25c83 100644 --- a/src/MarkerClusterGroup.js +++ b/src/MarkerClusterGroup.js @@ -378,7 +378,7 @@ L.MarkerClusterGroup.include(!L.DomUtil.TRANSITION ? { //Add all children of current clusters to map and remove those clusters from map for (i = 0; i < startingClusters.length; i++) { - c = startingClusters[j]; + c = startingClusters[i]; //Remove old cluster L.FeatureGroup.prototype.removeLayer.call(this, c); //TODO Animate