diff options
Diffstat (limited to 'secrets/public/script.js')
-rw-r--r-- | secrets/public/script.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/secrets/public/script.js b/secrets/public/script.js index 881df3a..19f0725 100644 --- a/secrets/public/script.js +++ b/secrets/public/script.js @@ -12,7 +12,7 @@ function appendsecret(response) { const span = document.querySelector(`li span[data-id="${elem["id"]}"]`); if (span) span.addEventListener("click", (event) => { - if (!confirm("Bist du dir sicher, dass du das Zitat löschen willst?")) return; + if (!confirm("Bist du dir sicher, dass du das löschen willst?")) return; fetch("api/delete/" + event.target.getAttribute("data-id"), { method: "DELETE" }) .then((response) => response.text()) .then((response) => { |