summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2019-08-27 03:03:58 +0200
committerFlorian Dold <florian.dold@gmail.com>2019-08-27 03:03:58 +0200
commit30c97118a6c7ec918cb9a4114a7c9d2470662342 (patch)
treeef196d876ea813066b07c80ac0965d19d4253521
parent381f245b7b8beb82a0c6d83412c4103c2f6e56e6 (diff)
downloadblog-30c97118a6c7ec918cb9a4114a7c9d2470662342.tar.gz
blog-30c97118a6c7ec918cb9a4114a7c9d2470662342.tar.bz2
blog-30c97118a6c7ec918cb9a4114a7c9d2470662342.zip
correctly re-schedule status check on error
-rw-r--r--talerblog/blog/templates/request_payment.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/talerblog/blog/templates/request_payment.html b/talerblog/blog/templates/request_payment.html
index f138877..6e050d0 100644
--- a/talerblog/blog/templates/request_payment.html
+++ b/talerblog/blog/templates/request_payment.html
@@ -15,7 +15,7 @@
function check() {
let req = new XMLHttpRequest();
req.onreadystatechange = function () {
- if (req.readyState === XMLHttpRequest.DONE && req.status === 200) {
+ if (req.readyState === XMLHttpRequest.DONE) {
if (req.status === 200) {
try {
let resp = JSON.parse(req.responseText);