Condo Complex / February 11, 2018
document.addEventListener(“DOMContentLoaded”, function() { // Ensure that the DOM is fully loaded var toggleButton = document.getElementById(“toggle-areas”); var areaList = document.getElementById(“area-list”); if (toggleButton && areaList) { // Check if both elements exist toggleButton.addEventListener(“click”, function() { if (areaList.style.display === “none”) { areaList.style.display = “block”; toggleButton.textContent = “Show Less”; } else { areaList.style.display =…