diff options
Diffstat (limited to 'src/content_scripts/notify.ts')
-rw-r--r-- | src/content_scripts/notify.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/content_scripts/notify.ts b/src/content_scripts/notify.ts index 166b1c6a8..498331630 100644 --- a/src/content_scripts/notify.ts +++ b/src/content_scripts/notify.ts @@ -194,7 +194,7 @@ function handlePaymentResponse(walletResp: any) { } err(); }) - timeoutHandle = setTimeout(onTimeout, 200); + timeoutHandle = window.setTimeout(onTimeout, 200); } @@ -243,7 +243,7 @@ function handlePaymentResponse(walletResp: any) { logVerbose && console.log("sendPay timed out, retrying in ", timeout_ms, "ms"); sendPay(); } - timeoutHandle = setTimeout(retry, timeout_ms); + timeoutHandle = window.setTimeout(retry, timeout_ms); } sendPay(); } |