Allow request to disable stripe loader

Set the "stripe" option to false in the request options.
This commit is contained in:
Ben Thomson 2023-08-02 16:17:05 +08:00
parent 43594b4103
commit d792becc1d
No known key found for this signature in database
GPG Key ID: 9BEA985335CAC094

View File

@ -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(() => {