mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 00:24:21 +02:00
Fix code for unit tests, refs #275
This commit is contained in:
@@ -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();
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user