X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9acde429bf8e92c67233461e8a6f5074eb2ff637..b8da7922ec4194e61a1eebb43be787f8b55d1647:/app/assets/javascripts/leaflet.layers.js?ds=sidebyside
diff --git a/app/assets/javascripts/leaflet.layers.js b/app/assets/javascripts/leaflet.layers.js
index 2633d1037..020876c47 100644
--- a/app/assets/javascripts/leaflet.layers.js
+++ b/app/assets/javascripts/leaflet.layers.js
@@ -98,11 +98,14 @@ L.OSM.layers = function (options) {
var addOverlay = function (layer, name, maxArea) {
var item = $("
")
- .tooltip({
- placement: "top"
- })
.appendTo(overlays);
+ if (name === "notes" || name === "data") {
+ item
+ .attr("title", I18n.t("javascripts.site.map_" + name + "_zoom_in_tooltip"))
+ .tooltip("disable");
+ }
+
var label = $("