[square] retry web sdk faster
This commit is contained in:
parent
c7382a1c6c
commit
067aac4d06
@ -423,8 +423,8 @@ export class AccelerateCheckout implements OnInit, OnDestroy {
|
|||||||
};
|
};
|
||||||
|
|
||||||
if (!window['Square']) {
|
if (!window['Square']) {
|
||||||
console.debug('Square.js failed to load properly. Retrying in 1 second.');
|
console.debug('Square.js failed to load properly. Retrying.');
|
||||||
setTimeout(this.setupSquare.bind(this), 1000);
|
setTimeout(this.setupSquare.bind(this), 100);
|
||||||
} else {
|
} else {
|
||||||
init();
|
init();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user