X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6db326aa1f084a062a3b658876bc01bf650f5702..ec3dad11d5b4765c6fae16ce90875aa62ff75eff:/app/assets/javascripts/leaflet.query.js diff --git a/app/assets/javascripts/leaflet.query.js b/app/assets/javascripts/leaflet.query.js index 8e45014a3..00292b74d 100644 --- a/app/assets/javascripts/leaflet.query.js +++ b/app/assets/javascripts/leaflet.query.js @@ -17,10 +17,10 @@ L.OSM.query = function (options) { function update() { var wasDisabled = link.hasClass("disabled"), - isDisabled = map.getZoom() < 14; + 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"));