This commit is contained in:
Aevann1 2021-12-17 09:06:25 +02:00
parent 6d9727d0b8
commit 1f32f3a35d
12 changed files with 51 additions and 32 deletions

View file

@ -16,7 +16,7 @@ function post_toast2(url, button1, button2) {
xhr.onload = function() {
data = JSON.parse(xhr.response)
if (xhr.status >= 200 && xhr.status < 300 && !data["error"] ) {
if (xhr.status >= 200 && xhr.status < 300 && !data["error"]) {
try {
document.getElementById('toast-post-success-text').innerText = data["message"];
} catch(e) {}