Fixed typo in comment

This commit is contained in:
Jake Wilson 2015-03-04 19:00:52 -07:00
parent 39425924ac
commit aae1df5d49

View File

@ -72,7 +72,7 @@ L.Control = L.Class.extend({
}, },
_refocusOnMap: function (e) { _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) { if (this._map && e && e.screenX > 0 && e.screenY > 0) {
this._map.getContainer().focus(); this._map.getContainer().focus();
} }