Last active
November 29, 2016 05:03
-
-
Save danieliser/c01aa187d95f4b14d086 to your computer and use it in GitHub Desktop.
Automatically close popup after 10 seconds
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('#pum-123') | |
| .on('pumAfterOpen', function () { | |
| setTimeout(function () { | |
| jQuery(this).popmake('close'); | |
| }, 10000); // 10 Seconds | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Click to close is working but automatic close after some seconds is not working