Created
March 24, 2015 00:25
-
-
Save Radagaisus/b14c511350de339e4c97 to your computer and use it in GitHub Desktop.
Hooking into the Captain Up Sign Up Modal
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
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