aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/map/BaseMap.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2021-08-17 22:58:12 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2021-08-17 22:58:12 -0700
commit946b6d807dc7625b02d4bd48de8da8682e3a3584 (patch)
tree2adfc0ae6cd6b9011184db175103e6943f4a880d /web/app/view/map/BaseMap.js
parentaac829df866d4975fa52e2d42b4d197ec1f05d34 (diff)
downloadtrackermap-web-946b6d807dc7625b02d4bd48de8da8682e3a3584.tar.gz
trackermap-web-946b6d807dc7625b02d4bd48de8da8682e3a3584.tar.bz2
trackermap-web-946b6d807dc7625b02d4bd48de8da8682e3a3584.zip
Fix focus issue (fix #776)
Diffstat (limited to 'web/app/view/map/BaseMap.js')
-rw-r--r--web/app/view/map/BaseMap.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/app/view/map/BaseMap.js b/web/app/view/map/BaseMap.js
index 0107acdc..b7c27ce1 100644
--- a/web/app/view/map/BaseMap.js
+++ b/web/app/view/map/BaseMap.js
@@ -183,6 +183,7 @@ Ext.define('Traccar.view.map.BaseMap', {
if (typeof target === 'string') {
target = Ext.get(target).dom;
}
+ target.focus();
this.map.on('pointermove', function (e) {
var hit = this.forEachFeatureAtPixel(e.pixel, function () {