[Pkg-javascript-commits] [leaflet-markercluster] 441/479: Left out the crucial .id

Jonas Smedegaard dr at jones.dk
Thu Oct 16 16:01:05 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 7473cede423f26b16411e983e7746dcf5c84b0ba
Author: Adam Bramley <adam at catalyst.net.nz>
Date:   Wed Nov 20 12:32:01 2013 +1300

    Left out the crucial .id
---
 dist/leaflet.markercluster-src.js | 2 +-
 dist/leaflet.markercluster.js     | 2 +-
 src/MarkerClusterGroup.js         | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dist/leaflet.markercluster-src.js b/dist/leaflet.markercluster-src.js
index 1fb7821..a9b6831 100644
--- a/dist/leaflet.markercluster-src.js
+++ b/dist/leaflet.markercluster-src.js
@@ -607,7 +607,7 @@ L.MarkerClusterGroup = L.FeatureGroup.extend({
 
     // Focus the map again for keyboard users.
 		if (typeof e.originalEvent.keyCode !== 'undefined' && e.originalEvent.keyCode === 13) {
-			document.getElementById(map._container).focus();
+			document.getElementById(map._container.id).focus();
 		}
 	},
 
diff --git a/dist/leaflet.markercluster.js b/dist/leaflet.markercluster.js
index 0227722..3d1044b 100644
--- a/dist/leaflet.markercluster.js
+++ b/dist/leaflet.markercluster.js
@@ -3,4 +3,4 @@
  https://github.com/Leaflet/Leaflet.markercluster
  (c) 2012-2013, Dave Leaver, smartrak
 */
-!function(t,e){L.MarkerClusterGroup=L.FeatureGroup.extend({options:{maxClusterRadius:80,iconCreateFunction:null,spiderfyOnMaxZoom:!0,showCoverageOnHover:!0,zoomToBoundsOnClick:!0,singleMarkerMode:!1,disableClusteringAtZoom:null,removeOutsideVisibleBounds:!0,animateAddingMarkers:!1,spiderfyDistanceMultiplier:1,polygonOptions:{}},initialize:function(t){L.Util.setOptions(this,t),this.options.iconCreateFunction||(this.options.iconCreateFunction=this._defaultIconCreateFunction),this._featureG [...]
\ No newline at end of file
+!function(t,e){L.MarkerClusterGroup=L.FeatureGroup.extend({options:{maxClusterRadius:80,iconCreateFunction:null,spiderfyOnMaxZoom:!0,showCoverageOnHover:!0,zoomToBoundsOnClick:!0,singleMarkerMode:!1,disableClusteringAtZoom:null,removeOutsideVisibleBounds:!0,animateAddingMarkers:!1,spiderfyDistanceMultiplier:1,polygonOptions:{}},initialize:function(t){L.Util.setOptions(this,t),this.options.iconCreateFunction||(this.options.iconCreateFunction=this._defaultIconCreateFunction),this._featureG [...]
\ No newline at end of file
diff --git a/src/MarkerClusterGroup.js b/src/MarkerClusterGroup.js
index 8b71179..92149a6 100644
--- a/src/MarkerClusterGroup.js
+++ b/src/MarkerClusterGroup.js
@@ -602,7 +602,7 @@ L.MarkerClusterGroup = L.FeatureGroup.extend({
 
     // Focus the map again for keyboard users.
 		if (typeof e.originalEvent.keyCode !== 'undefined' && e.originalEvent.keyCode === 13) {
-			document.getElementById(map._container).focus();
+			document.getElementById(map._container.id).focus();
 		}
 	},
 

-- 
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