added woocommerce specific css selector to avoid conflicts
This commit is contained in:
parent
b20ecc648e
commit
608d6628e3
|
@ -80,7 +80,7 @@ jQuery( function( $ ) {
|
||||||
};
|
};
|
||||||
|
|
||||||
// Show password visiblity hover icon on woocommerce forms
|
// 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>' );
|
$( '.password-input' ).append( '<span class="show-password-input"></span>' );
|
||||||
|
|
||||||
$( '.show-password-input' ).click(
|
$( '.show-password-input' ).click(
|
||||||
|
|
Loading…
Reference in New Issue