diff options
author | Sebastian <sebasjm@gmail.com> | 2022-03-21 09:40:15 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2022-03-21 09:40:15 -0300 |
commit | 88bb94367263494a1ff9b8bf66100b96e0549985 (patch) | |
tree | 17bfdf47fba6de25b32e2aae005584cd0ecbcecc | |
parent | 65eb64cd07dcaf1b57405189fcd054684d3f5e2f (diff) |
fix #7164: firefox back button after a 402 redirect
-rw-r--r-- | packages/taler-wallet-webextension/src/wxBackend.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/taler-wallet-webextension/src/wxBackend.ts b/packages/taler-wallet-webextension/src/wxBackend.ts index 643735147..e158d2946 100644 --- a/packages/taler-wallet-webextension/src/wxBackend.ts +++ b/packages/taler-wallet-webextension/src/wxBackend.ts @@ -233,7 +233,7 @@ function makeSyncWalletRedirect( const tab = await getTab(tabId); if (tab.url === oldUrl) { console.log("redirecting to", innerUrl.href); - chrome.tabs.update(tabId, { url: innerUrl.href }); + chrome.tabs.update(tabId, { url: innerUrl.href, loadReplace: true } as any); } }; doit(); |