Pin It on Pinterest

Share This
document.addEventListener('DOMContentLoaded', function () { var closeButton = document.querySelector('.close-popup-link'); if (closeButton) { closeButton.addEventListener('click', function () { // Assuming you're using Divi's default popup or a modal with a common close button var popupCloseButton = document.querySelector('.popup-close'); if (popupCloseButton) { popupCloseButton.click(); } }); } });