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 | fixup 82ba90659676fb1f42bc8c658920e25170fcf1f3 (diff) | |
download | online-feature/mobile-input.tar.gz online-feature/mobile-input.zip |
fixup f682135863f0c3a3909f940e23484529e9aaf46c
feature/mobile-input
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 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(); } }, |