X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e731dd71a77ad4ad1e9db22535e89444bb98e5d9..85f627c5c2d759046f159e4017ea799d92442178:/app/assets/javascripts/leaflet.note.js diff --git a/app/assets/javascripts/leaflet.note.js b/app/assets/javascripts/leaflet.note.js index 86c455499..5f8010967 100644 --- a/app/assets/javascripts/leaflet.note.js +++ b/app/assets/javascripts/leaflet.note.js @@ -17,7 +17,7 @@ L.OSM.note = function (options) { var disabled = OSM.STATUS === "database_offline" || map.getZoom() < 12; link .toggleClass("disabled", disabled) - .attr("data-original-title", I18n.t(disabled ? + .attr("data-bs-original-title", I18n.t(disabled ? "javascripts.site.createnote_disabled_tooltip" : "javascripts.site.createnote_tooltip")); }