changed append show-password-span to prepend to fix bug with password strength hint

This commit is contained in:
BrandynL 2020-04-08 14:21:00 -04:00
parent f888908a70
commit b234964a1c
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ jQuery( function( $ ) {
// Show password visiblity hover icon on woocommerce forms
$( '.woocommerce form .woocommerce-Input[type="password"]' ).wrap( '<span class="password-input"></span>' );
$( '.password-input' ).append( '<span class="show-password-input"></span>' );
$( '.password-input' ).prepend( '<span class="show-password-input"></span>' );
$( '.show-password-input' ).click(
function() {