]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/application.js
Fix remaining tooltips, and add tests
[rails.git] / app / assets / javascripts / application.js
index d5b16bbfb293c3019bee839066dfe803b4e87941..740990fb300521794789bbde90e089406e544ad7 100644 (file)
@@ -59,7 +59,7 @@ window.updateLinks = function (loc, zoom, layers, object) {
   var editDisabled = zoom < 13;
   $("#edit_tab")
     .tooltip({ placement: "bottom" })
-    .attr("data-original-title", editDisabled ?
+    .attr("data-bs-original-title", editDisabled ?
       I18n.t("javascripts.site.edit_disabled_tooltip") : "")
     // Disable the button group and also the buttons to avoid
     // inconsistent behaviour when zooming