From fa2f4bc45a5cdf427604c67e2c69ac599ea181bd Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Fri, 29 Jan 2021 21:29:07 +0100 Subject: ig --- secrets/public/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) => { -- cgit v1.2.3