convert array instance to shorthand syntax
This commit is contained in:
parent
3fb3325e93
commit
925bad1faf
|
@ -85,10 +85,10 @@ jQuery( function( $ ) {
|
|||
|
||||
$( '.show-password-input' ).hover(
|
||||
function() {
|
||||
$( this ).siblings( array( 'input[name="password"]', 'input[type="password"]' ) ).prop( 'type', 'text' );
|
||||
$( this ).siblings( ['input[name="password"]', 'input[type="password"]'] ).prop( 'type', 'text' );
|
||||
},
|
||||
function() {
|
||||
$( this ).siblings( array( 'input[name="password"]', 'input[type="password"]' ) ).prop( 'type', 'password' );
|
||||
$( this ).siblings( ['input[name="password"]', 'input[type="password"]'] ).prop( 'type', 'password' );
|
||||
}
|
||||
);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue