added woocommerce specific css selector to avoid conflicts

This commit is contained in:
BrandynL 2019-12-31 11:10:30 -05:00
parent b20ecc648e
commit 608d6628e3
1 changed files with 1 additions and 1 deletions

View File

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