diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-10-08 20:54:23 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-10-08 20:54:23 +0530 |
commit | 3577c4d18830219d83ec1ba4ef9d35480a2db787 (patch) | |
tree | 1ded0d101dd933c5a82510f0ced77852181947d8 /contrib/offer_refund.en.must | |
parent | 7d81706ca0d905a2d7e8c7c18a6e2d48d0a67bae (diff) | |
download | merchant-3577c4d18830219d83ec1ba4ef9d35480a2db787.tar.gz merchant-3577c4d18830219d83ec1ba4ef9d35480a2db787.tar.bz2 merchant-3577c4d18830219d83ec1ba4ef9d35480a2db787.zip |
replace location to avoid history loop
Diffstat (limited to 'contrib/offer_refund.en.must')
-rw-r--r-- | contrib/offer_refund.en.must | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/offer_refund.en.must b/contrib/offer_refund.en.must index 19af479d..d0a6aaf3 100644 --- a/contrib/offer_refund.en.must +++ b/contrib/offer_refund.en.must @@ -100,7 +100,7 @@ body { try { let resp = JSON.parse(req.responseText); if (! resp.refund_pending) { - document.location.reload(true); + window.location.reload(true); } } catch (e) { console.error("could not parse response:", e); |