Created
July 27, 2017 21:15
-
-
Save SeanTOSCD/907f39b56b2a4258e30200c748513f0a to your computer and use it in GitHub Desktop.
EDD checkout login form hack - 2
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
// Checkout form login toggle | |
$('.edd-checkout-show-login-form').on('click',function(e){ | |
e.preventDefault(); | |
$(this).parents( ".edd-show-login-wrap" ).siblings( "#edd_login_fields" ).show(); | |
$( "#edd_login_fields #edd_user_login" ).focus(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment