[Pkg-javascript-commits] [leaflet-markercluster] 15/479: Woops, fix the IE code.

Jonas Smedegaard dr at jones.dk
Thu Oct 16 16:00:03 UTC 2014


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository leaflet-markercluster.

commit fddad2f892983e24dbbcc51274f24c0278d8138e
Author: danzel <danzel at localhost.geek.nz>
Date:   Fri Jul 13 11:30:17 2012 +1200

    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 95b788d..83aa25c 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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/leaflet-markercluster.git



More information about the Pkg-javascript-commits mailing list