mirror of
https://github.com/mempool/mempool.git
synced 2025-01-19 05:34:03 +01:00
[square] fix web sdk retry logic
This commit is contained in:
parent
f782693b26
commit
c7382a1c6c
@ -424,7 +424,7 @@ export class AccelerateCheckout implements OnInit, OnDestroy {
|
||||
|
||||
if (!window['Square']) {
|
||||
console.debug('Square.js failed to load properly. Retrying in 1 second.');
|
||||
setTimeout(init, 1000);
|
||||
setTimeout(this.setupSquare.bind(this), 1000);
|
||||
} else {
|
||||
init();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user