From ec83b78ed81f2f8081d5f66f1f4ece7f9b832348 Mon Sep 17 00:00:00 2001 From: "jean-philippe.bazonnais" Date: Wed, 6 Dec 2023 23:51:03 +0100 Subject: [PATCH] Fix display button interactivity --- src/js/nav.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/js/nav.js b/src/js/nav.js index f68cb919..75b7cfc8 100644 --- a/src/js/nav.js +++ b/src/js/nav.js @@ -181,6 +181,7 @@ class MenuNavigation { DOM.$layerManagerBtn.classList.add('d-none'); DOM.$geolocateBtn.classList.add('d-none'); DOM.$filterPoiBtn.classList.add('d-none'); + DOM.$interactivityBtn.classList.add('d-none'); DOM.$whiteScreen.classList.remove('d-none'); DOM.$backTopLeftBtn.classList.remove('d-none'); DOM.$backTopLeftBtn.style.boxShadow = "unset"; @@ -278,10 +279,6 @@ class MenuNavigation { document.querySelector(".autocompresultselected").classList.remove("autocompresultselected"); } document.body.style.overflowY = "auto"; - DOM.$sideBySideBtn.classList.remove('d-none'); - DOM.$layerManagerBtn.classList.remove('d-none'); - DOM.$filterPoiBtn.classList.add('d-none'); - DOM.$geolocateBtn.classList.remove('d-none'); DOM.$whiteScreen.classList.add('d-none'); DOM.$backTopLeftBtn.classList.add('d-none'); DOM.$backTopLeftBtn.style.removeProperty("box-shadow"); @@ -399,6 +396,7 @@ class MenuNavigation { DOM.$sideBySideBtn.classList.remove('d-none'); DOM.$layerManagerBtn.classList.remove('d-none'); DOM.$filterPoiBtn.classList.remove('d-none'); + DOM.$interactivityBtn.classList.remove('d-none'); DOM.$geolocateBtn.classList.remove('d-none'); switch (id) { case "informations":