buttons – Elementor Close Popupmaker when clicking link URL
I want to close the popup when user clicks a button at the same time open a URL on a new tab. The closes thing I found is this: https://docs.wppopupmaker.com/article/303-close-a-popup-when-a-link-inside-the-popup-is-clicked
I added this to my button that is located inside the popup:
It does work and when I click the button it now closes the popup but it doesnt open the link to a new tab anymore.
The link above shows how to do it in a link text, but I want to do it on a button in elementor.
Plugins: AnyWhere Elementor, Popup Maker, Elementor