Fixed typo in comment
This commit is contained in:
parent
39425924ac
commit
aae1df5d49
@ -72,7 +72,7 @@ L.Control = L.Class.extend({
|
||||
},
|
||||
|
||||
_refocusOnMap: function (e) {
|
||||
// if map exists and event is keyboard event
|
||||
// if map exists and event is not a keyboard event
|
||||
if (this._map && e && e.screenX > 0 && e.screenY > 0) {
|
||||
this._map.getContainer().focus();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user