Skip to content

Instantly share code, notes, and snippets.

@danieliser
Last active November 29, 2016 05:03
Show Gist options
  • Select an option

  • Save danieliser/c01aa187d95f4b14d086 to your computer and use it in GitHub Desktop.

Select an option

Save danieliser/c01aa187d95f4b14d086 to your computer and use it in GitHub Desktop.
Automatically close popup after 10 seconds
jQuery('#pum-123')
.on('pumAfterOpen', function () {
setTimeout(function () {
jQuery(this).popmake('close');
}, 10000); // 10 Seconds
});
@duraimanickam
Copy link
Copy Markdown

Click to close is working but automatic close after some seconds is not working

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment