]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/application.js
Remove unnecessary wrapper divs
[rails.git] / app / assets / javascripts / application.js
index d5b16bbfb293c3019bee839066dfe803b4e87941..89f60847fb9261f2432051e5c2441b32b96744e9 100644 (file)
@@ -13,7 +13,7 @@
 //= require leaflet.locationfilter
 //= require i18n
 //= require oauth
-//= require piwik
+//= require matomo
 //= require richtext
 //= require qs/dist/qs
 //= require bs-custom-file-input
@@ -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