diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2019-10-03 14:34:00 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2019-10-03 14:34:00 +0100 |
commit | 110c90060720d284795c8ed51d0b42a9eadcf7ec (patch) | |
tree | c31c5e12c65c4c05349e2ab81fa1f80c1324237b | |
parent | 5a44dbdaac9771e4fb5bc9490eb3348a75f9c214 (diff) |
Change-Id: I3f8b484f2f50188dd4af6d7891fc067244195f5c
-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 eb24318a1..ae35507fa 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(); } }, |