]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/leaflet.layers.js
Fix remaining tooltips, and add tests
[rails.git] / app / assets / javascripts / leaflet.layers.js
index 5c5e43c5c20351b3abf537a9bd55d13f5078dff2..0f8e6c4d266dc1b986cb7e737f29699ac4b923d4 100644 (file)
@@ -171,7 +171,7 @@ L.OSM.layers = function (options) {
           }
 
           $(item).attr("class", disabled ? "disabled" : "");
           }
 
           $(item).attr("class", disabled ? "disabled" : "");
-          item.attr("data-original-title", disabled ?
+          item.attr("data-bs-original-title", disabled ?
             I18n.t("javascripts.site.map_" + name + "_zoom_in_tooltip") : "");
         });
       };
             I18n.t("javascripts.site.map_" + name + "_zoom_in_tooltip") : "");
         });
       };