Skip to content

Instantly share code, notes, and snippets.

@Shelob9
Created August 16, 2016 20:11
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Shelob9/6f2a07b5eab0605c322e37629f2c7c43 to your computer and use it in GitHub Desktop.
Save Shelob9/6f2a07b5eab0605c322e37629f2c7c43 to your computer and use it in GitHub Desktop.
jQuery( document).ready( function($ ){
var init = false;
$( document ).on( "cf.add", function(e) {
if( false == init ){
init = true;
return;
}
$( e.target ).find('.form-group' ).hide().fadeIn( "slow", function() {
// Animation complete you can have more fun here with $(this)
});
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment