Remove check for undefined, reverted dist/* changes

This commit is contained in:
Adam Bramley
2013-12-17 09:13:35 +13:00
parent 952d41717a
commit e3dac5cbf3
3 changed files with 2 additions and 7 deletions
-5
View File
@@ -604,11 +604,6 @@ L.MarkerClusterGroup = L.FeatureGroup.extend({
} else if (this.options.zoomToBoundsOnClick) {
e.layer.zoomToBounds();
}
// Focus the map again for keyboard users.
if (typeof e.originalEvent.keyCode !== 'undefined' && e.originalEvent.keyCode === 13) {
map._container.focus();
}
},
_showCoverage: function (e) {
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -601,7 +601,7 @@ L.MarkerClusterGroup = L.FeatureGroup.extend({
}
// Focus the map again for keyboard users.
if (typeof e.originalEvent.keyCode !== 'undefined' && e.originalEvent.keyCode === 13) {
if (e.originalEvent.keyCode === 13) {
map._container.focus();
}
},