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"));