Skip to content
jQuery(window).on('elementor/frontend/init', function () {
jQuery(document).on('click', '.elementor-popup a[href^="#"]', function (e) {
const target = jQuery(this).attr('href');
if (target.length > 1 && jQuery(target).length) {
setTimeout(function () {
elementorProFrontend.modules.popup.closePopup();
}, 300); // Give it time to scroll before closing
}
});
});