UM Center closed for Labor Day Observance
UM Center closed for Labor Day Observance on September 2.
document.addEventListener("DOMContentLoaded", function () { var socialContainer = document.getElementById("social-container"); var socialLinks = socialContainer ? socialContainer.querySelectorAll(".elementor-grid-item a") : []; var contactList = document.getElementById("contact-list"); var contactItems = contactList ? contactList.querySelectorAll(".elementor-icon-list-item") : []; var hasLink = false; // Handle social links Array.prototype.forEach.call(socialLinks, function (link) { if (!link.href || link.href.trim() === "") { link.closest(".elementor-grid-item").style.display = "none"; } else { hasLink = true; } }); if (!hasLink && socialContainer) { socialContainer.style.display = "none"; } // Handle contact list items var hasContactItem = false; Array.prototype.forEach.call(contactItems, function (item) { var link = item.querySelector("a"); var text = item.querySelector(".elementor-icon-list-text"); // Hide the item if there's no meaningful content if ( (!link || !link.href || link.href.trim() === "") && (!text || !text.textContent.trim()) ) { item.style.display = "none"; } else { hasContactItem = true; } }); if (!hasContactItem && contactList) { contactList.style.display = "none"; } });