In the Nick of Time Bazaar (Newville UMC, Disputanta)
In the Nick of Time Bazaar, Newville UMC, 9010 Hines Rd., Disputanta, VA. Saturday, December 9, 2023; 8 AM – 1 PM. Featuring homemade crafts, sweets, and jewelry. For more […]
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"; } });