Left out the crucial .id

This commit is contained in:
Adam Bramley
2013-11-20 12:32:01 +13:00
parent 975d3323b0
commit 7473cede42
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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();
}
},
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -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();
}
},