This commit is contained in:
Aevann1 2021-10-16 11:55:39 +02:00
parent 5a52b9709b
commit 3547578a08
9 changed files with 9 additions and 7 deletions

View file

@ -30,7 +30,7 @@ function post_toast(url, reload, data) {
document.getElementById('toast-post-success-text').innerText = "Action successful!";
}
if (reload == 1) {window.location.reload(true)}
if (reload == 1) {location.reload(true)}
return true
} else if (xhr.status >= 300 && xhr.status < 400) {