Skip to content

Commit

Permalink
corrected code style
Browse files Browse the repository at this point in the history
  • Loading branch information
netzkollektiv committed Sep 26, 2018
1 parent 64399b6 commit 0af4941
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/frontend/checkout.js
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ jQuery( function( $ ) {
if ( ID ) {
if ( $.inArray( $( this ).attr( 'type' ), [ 'checkbox', 'radio' ] ) !== -1 ) {
$( this ).prop( 'checked', paymentDetails[ ID ] ).change();
} else if ( $(this).val() !== null && 0 === $( this ).val().length ) {
} else if ( null !== $( this ).val() && 0 === $( this ).val().length ) {
$( this ).val( paymentDetails[ ID ] ).change();
}
}
Expand Down

0 comments on commit 0af4941

Please sign in to comment.