mirror of
https://github.com/mempool/mempool.git
synced 2025-04-09 12:30:13 +02:00
Merge pull request #5403 from mempool/nymkappa/square-loading
[square] retry web sdk faster
This commit is contained in:
commit
9f559248cc
@ -423,8 +423,8 @@ export class AccelerateCheckout implements OnInit, OnDestroy {
|
||||
};
|
||||
|
||||
if (!window['Square']) {
|
||||
console.debug('Square.js failed to load properly. Retrying in 1 second.');
|
||||
setTimeout(this.setupSquare.bind(this), 1000);
|
||||
console.debug('Square.js failed to load properly. Retrying.');
|
||||
setTimeout(this.setupSquare.bind(this), 100);
|
||||
} else {
|
||||
init();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user