From: Anton Khorev Date: Thu, 10 Aug 2023 00:19:12 +0000 (+0300) Subject: Disable home marker tab focus and cursor change X-Git-Tag: live~1156^2~3 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/0f3f3ead0a573fef31118196f6dea17841dd0ac8 Disable home marker tab focus and cursor change --- 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]);