X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/8e288156d47808a9136fd46eeb03b762e0d59a36..1a4faa4507b98ae103234f25b07c2a4e21c6017e:/app/assets/javascripts/application.js diff --git a/app/assets/javascripts/application.js b/app/assets/javascripts/application.js index 5028cdd1e..d5b16bbfb 100644 --- a/app/assets/javascripts/application.js +++ b/app/assets/javascripts/application.js @@ -61,12 +61,12 @@ window.updateLinks = function (loc, zoom, layers, object) { .tooltip({ placement: "bottom" }) .attr("data-original-title", editDisabled ? I18n.t("javascripts.site.edit_disabled_tooltip") : "") - // Disable the button group and also the buttons to avoid + // Disable the button group and also the buttons to avoid // inconsistent behaviour when zooming .toggleClass("disabled", editDisabled) .find("a") - .toggleClass("disabled", editDisabled) - }; + .toggleClass("disabled", editDisabled); +}; window.maximiseMap = function () { $("#content").addClass("maximised");