X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/cf3fa3bb2d0beb67ac4944941fc33080b56f0d66..be541bcab21487560d4974215bd35be74012c492:/app/assets/javascripts/application.js?ds=sidebyside diff --git a/app/assets/javascripts/application.js b/app/assets/javascripts/application.js index 24d50dcce..f3ca5f37f 100644 --- a/app/assets/javascripts/application.js +++ b/app/assets/javascripts/application.js @@ -33,6 +33,7 @@ window.updateLinks = function (loc, zoom, layers, object) { delete args.way; delete args.relation; delete args.changeset; + delete args.note; if (object && editlink) { args[object.type] = object.id; @@ -76,9 +77,6 @@ window.minimiseMap = function () { }; $(document).ready(function () { - $("#edit_tab") - .attr("title", I18n.t("javascripts.site.edit_disabled_tooltip")); - var headerWidth = 0, compactWidth = 0; @@ -146,4 +144,7 @@ $(document).ready(function () { if (application_data.location) { OSM.location = application_data.location; } + + $("#edit_tab") + .attr("title", I18n.t("javascripts.site.edit_disabled_tooltip")); });