Created
October 15, 2020 22:49
-
-
Save jennlee20/5675685491fbc656da372ec03c0078ca to your computer and use it in GitHub Desktop.
This file contains 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
//Open | |
jQuery( window ).trigger( { | |
type: 'jet-popup-open-trigger', | |
popupData: { | |
popupId: 'jet-popup-<numeric popup ID>', | |
} | |
} ); | |
//Close , just trigger click to match the rules in popup setting | |
jQuery('#jet-popup-<numeric popup ID> .jet-popup__close-button').click(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment