aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarvin Borner2021-01-29 21:29:07 +0100
committerMarvin Borner2021-01-29 21:29:07 +0100
commitfa2f4bc45a5cdf427604c67e2c69ac599ea181bd (patch)
treeed12a2594f417a35ddded08c2cd69851d5a8c351
parentb5058eb7ff8c110bc24a64d02bc42e0a9dc267f5 (diff)
ig
-rw-r--r--secrets/public/script.js2
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) => {