Last active
December 2, 2023 18:38
-
-
Save softiconic/7aa37bcde7f4d6755d3a44b54cfae27e to your computer and use it in GitHub Desktop.
Close an Elementor popup when a button or link is clicked.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery(function($){ | |
$(document).on('click','.elementor-location-popup a', function(event){ | |
elementorProFrontend.modules.popup.closePopup( {}, event); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment