Fix reload to only happen on success
This commit is contained in:
@@ -52,8 +52,8 @@ console.log(request);
|
|||||||
const kaput = document.querySelector("#kaput");
|
const kaput = document.querySelector("#kaput");
|
||||||
kaput.classList.add("display-none");
|
kaput.classList.add("display-none");
|
||||||
note.innerText = "";
|
note.innerText = "";
|
||||||
|
window.location.reload();
|
||||||
}
|
}
|
||||||
window.location.reload();
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user