mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Merge pull request #275 from Zombienaute/master
Map loses focus when zooming in on cluster with keyboard
This commit is contained in:
@ -599,6 +599,11 @@ L.MarkerClusterGroup = L.FeatureGroup.extend({
|
||||
} else if (this.options.zoomToBoundsOnClick) {
|
||||
e.layer.zoomToBounds();
|
||||
}
|
||||
|
||||
// Focus the map again for keyboard users.
|
||||
if (e.originalEvent.keyCode === 13) {
|
||||
map._container.focus();
|
||||
}
|
||||
},
|
||||
|
||||
_showCoverage: function (e) {
|
||||
|
Reference in New Issue
Block a user