From ed4549afabd1c555b90fd39c81b47087a94cc2b1 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sun, 26 Jun 2022 19:56:27 +0100 Subject: [PATCH] Fix eslint warnings --- app/assets/javascripts/application.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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"); -- 2.39.5