diff options
author | Florian Dold <florian.dold@gmail.com> | 2017-05-24 15:10:37 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2017-05-24 15:11:17 +0200 |
commit | 7a3df06eb573d36142bd1a8e03c5ce8752d300b3 (patch) | |
tree | 70bfaea8884c374876f607774850a3a51c0cb381 /src/content_scripts/notify.ts | |
parent | aca1143cb9eed16cf37f04e475e4257418dd18ac (diff) | |
download | wallet-core-7a3df06eb573d36142bd1a8e03c5ce8752d300b3.tar.xz |
fix build issues and add typedoc
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(); } |