mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
Allow request to disable stripe loader
Set the "stripe" option to false in the request options.
This commit is contained in:
parent
43594b4103
commit
d792becc1d
@ -34,7 +34,11 @@ export default class StripeLoader extends Singleton {
|
||||
this.createStripe();
|
||||
}
|
||||
|
||||
ajaxStart(promise) {
|
||||
ajaxStart(promise, request) {
|
||||
if (request.options.stripe === false) {
|
||||
return;
|
||||
}
|
||||
|
||||
this.show();
|
||||
|
||||
promise.then(() => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user