mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-12 14:12:44 +01:00
Fixes for JS
This commit is contained in:
parent
b16b46204a
commit
1a37049ff8
8
public/js/clients/payments/stripe-bacs.js
vendored
8
public/js/clients/payments/stripe-bacs.js
vendored
@ -18,10 +18,10 @@ class ProcessBACS {
|
||||
setupStripe = () => {
|
||||
|
||||
if (this.stripeConnect){
|
||||
// this.stripe.stripeAccount = this.stripeConnect;
|
||||
// this.stripe.stripeAccount = this.stripeConnect;
|
||||
|
||||
this.stripe = Stripe(this.key, {
|
||||
stripeAccount: this.stripeConnect,
|
||||
this.stripe = Stripe(this.key, {
|
||||
stripeAccount: this.stripeConnect,
|
||||
});
|
||||
|
||||
}
|
||||
@ -40,7 +40,7 @@ class ProcessBACS {
|
||||
document.getElementById('pay-now').disabled = true;
|
||||
document.querySelector('#pay-now > svg').classList.remove('hidden');
|
||||
document.querySelector('#pay-now > span').classList.add('hidden');
|
||||
location.href=document.querySelector('meta[name=stripe-redirect-url]').content;
|
||||
location.href=document.querySelector('meta[name=stripe-redirect-url').content;
|
||||
});
|
||||
};
|
||||
}
|
||||
|
2
resources/js/clients/payments/stripe-bacs.js
vendored
2
resources/js/clients/payments/stripe-bacs.js
vendored
@ -40,7 +40,7 @@ class ProcessBACS {
|
||||
document.getElementById('pay-now').disabled = true;
|
||||
document.querySelector('#pay-now > svg').classList.remove('hidden');
|
||||
document.querySelector('#pay-now > span').classList.add('hidden');
|
||||
location.href=document.querySelector('meta[name=stripe-redirect-url]').content;
|
||||
location.href=document.querySelector('meta[name=stripe-redirect-url').content;
|
||||
});
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user