From 0f3f3ead0a573fef31118196f6dea17841dd0ac8 Mon Sep 17 00:00:00 2001 From: Anton Khorev Date: Thu, 10 Aug 2023 03:19:12 +0300 Subject: [PATCH] Disable home marker tab focus and cursor change --- app/assets/javascripts/user.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/user.js b/app/assets/javascripts/user.js index c0afd6b8d..f6c415185 100644 --- a/app/assets/javascripts/user.js +++ b/app/assets/javascripts/user.js @@ -44,7 +44,11 @@ $(document).ready(function () { } if ($("#map").hasClass("set_location")) { - marker = L.marker([0, 0], { icon: OSM.getUserIcon() }); + marker = L.marker([0, 0], { + icon: OSM.getUserIcon(), + keyboard: false, + interactive: false + }); if (OSM.home) { marker.setLatLng([OSM.home.lat, OSM.home.lon]); -- 2.39.5