X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/550c4a3a45814fde5c809334c85f1ebc47659a82..809a8b3db0f09199ae798de102cc926f87958c82:/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")); }