Fix code for unit tests, refs #275

This commit is contained in:
danzel
2013-12-17 10:20:13 +13:00
parent 9165b873b5
commit 5a8872a0ab
+1 -1
View File
@@ -601,7 +601,7 @@ L.MarkerClusterGroup = L.FeatureGroup.extend({
}
// Focus the map again for keyboard users.
if (e.originalEvent.keyCode === 13) {
if (e.originalEvent && e.originalEvent.keyCode === 13) {
map._container.focus();
}
},