Using same styles for Card number, CVV and MM/YY
This commit is contained in:
parent
56e8734a27
commit
3edc426cc4
1 changed files with 2 additions and 2 deletions
|
@ -126,12 +126,12 @@ $(document).ready(function () {
|
|||
cardNumberElement.mount('#card-number-element');
|
||||
|
||||
var cardExpiryElement = elements.create('cardExpiry', {
|
||||
style: credit_card_cvv_style
|
||||
style: credit_card_text_style
|
||||
});
|
||||
cardExpiryElement.mount('#card-expiry-element');
|
||||
|
||||
var cardCvcElement = elements.create('cardCvc', {
|
||||
style: credit_card_cvv_style
|
||||
style: credit_card_text_style
|
||||
});
|
||||
cardCvcElement.mount('#card-cvc-element');
|
||||
cardNumberElement.on('change', function (event) {
|
||||
|
|
Loading…
Reference in a new issue