X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a7092491b069de43bb8d8c30d3526e7095c5cc98..a3b5c85497a6991016a60d8d0749336272d4a7a3:/app/assets/javascripts/leaflet.query.js diff --git a/app/assets/javascripts/leaflet.query.js b/app/assets/javascripts/leaflet.query.js index 5f449c214..00292b74d 100644 --- a/app/assets/javascripts/leaflet.query.js +++ b/app/assets/javascripts/leaflet.query.js @@ -20,7 +20,7 @@ L.OSM.query = function (options) { isDisabled = map.getZoom() < 14; link .toggleClass("disabled", isDisabled) - .attr("data-original-title", I18n.t(isDisabled ? + .attr("data-bs-original-title", I18n.t(isDisabled ? "javascripts.site.queryfeature_disabled_tooltip" : "javascripts.site.queryfeature_tooltip"));