Fix eslint warnings

This commit is contained in:
Tom Hughes 2022-06-26 19:56:27 +01:00
parent 1153606a7c
commit ed4549afab

View file

@ -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");