- $(item).attr("class", disabled ? "disabled" : "");
- item.attr("data-bs-original-title", disabled ? // has additional bug when zooming out from enabled state
- I18n.t("javascripts.site.map_" + name + "_zoom_in_tooltip") : "");
+ $(item)
+ .attr("class", disabled ? "disabled" : "")
+ .tooltip(disabled ? "enable" : "disable");