Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Hooking into the Captain Up Sign Up Modal
captain.up(function() {
// Listen to the `signup:open` event, that's triggered whenever the sign up
// modal is opened.
captain.on('signup:open', function() {
// Replace the sign up modal title with "Hello, World!"
$('#cpt-sign-up-modal h1').text('Hello, World!');
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment