From aae1df5d49402aec0427313b9644a8287be21c44 Mon Sep 17 00:00:00 2001 From: Jake Wilson Date: Wed, 4 Mar 2015 19:00:52 -0700 Subject: [PATCH] Fixed typo in comment --- src/control/Control.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }