diff options
-rw-r--r-- | loleaflet/src/map/handler/Map.TouchGesture.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/loleaflet/src/map/handler/Map.TouchGesture.js b/loleaflet/src/map/handler/Map.TouchGesture.js index eb24318a15..ae35507fad 100644 --- a/loleaflet/src/map/handler/Map.TouchGesture.js +++ b/loleaflet/src/map/handler/Map.TouchGesture.js @@ -242,8 +242,7 @@ L.Map.TouchGesture = L.Handler.extend({ if (this._state === L.Map.TouchGesture.MARKER || this._state === L.Map.TouchGesture.GRAPHIC) { this._map._clipboardContainer.blur(); } else { - if (!this._map.hasFocus()) - this._map.focus(); + this._map.focus(); } }, |