diff options
author | Sebastian <sebasjm@gmail.com> | 2023-06-29 00:10:04 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-06-29 00:10:04 -0300 |
commit | 4853f796776aab39b5cd5b652df219c5092b0f46 (patch) | |
tree | e25d026ed14fc2fc7fea9149d6f5c30533a97464 /packages/taler-wallet-webextension/src/platform/chrome.ts | |
parent | 93ab00e601878b91a315babd2a9b6ab5dca59e92 (diff) | |
download | wallet-core-4853f796776aab39b5cd5b652df219c5092b0f46.tar.xz |
fix: #7875 - show retry on pending state
Diffstat (limited to 'packages/taler-wallet-webextension/src/platform/chrome.ts')
-rw-r--r-- | packages/taler-wallet-webextension/src/platform/chrome.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/taler-wallet-webextension/src/platform/chrome.ts b/packages/taler-wallet-webextension/src/platform/chrome.ts index 65670fb69..1295fa514 100644 --- a/packages/taler-wallet-webextension/src/platform/chrome.ts +++ b/packages/taler-wallet-webextension/src/platform/chrome.ts @@ -774,6 +774,7 @@ function listenNetworkConnectionState( function notifyOnline() { notify("on"); } + notify(window.navigator.onLine ? "on" : "off"); window.addEventListener("offline", notifyOffline); window.addEventListener("online", notifyOnline); return () => { |