X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3a6c476833a0097ea50a5139dc57d39d0f03a651..10c9ca81c788c5aa3cd7a66d9cdbaedc14def1bc:/app/assets/javascripts/application.js diff --git a/app/assets/javascripts/application.js b/app/assets/javascripts/application.js index 808f30e92..c9eddfb9c 100644 --- a/app/assets/javascripts/application.js +++ b/app/assets/javascripts/application.js @@ -5,6 +5,7 @@ //= require augment //= require leaflet //= require leaflet.osm +//= require leaflet.extend //= require leaflet.locationfilter //= require i18n/translations //= require oauth @@ -78,9 +79,7 @@ function updatelinks(loc, zoom, layers, bounds, object) { var minzoom = $(link).data("minzoom"); if (minzoom) { var name = link.id.replace(/anchor$/, ""); - $(link).off("click.minzoom"); - if (zoom >= minzoom) { $(link).attr("title", I18n.t("javascripts.site." + name + "_tooltip")) .removeClass("disabled");