diff --git a/src/control/Control.js b/src/control/Control.js index 34301c09..a21b1023 100644 --- a/src/control/Control.js +++ b/src/control/Control.js @@ -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(); }