From 25a099970eecb32f534142c8eafca52ac7bf8bdc Mon Sep 17 00:00:00 2001 From: Sainan Date: Tue, 21 Jan 2025 18:36:45 +0100 Subject: [PATCH] fix(webui): delete prompt showing name twice --- static/webui/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/webui/script.js b/static/webui/script.js index 7f4d2b32..c41688b2 100644 --- a/static/webui/script.js +++ b/static/webui/script.js @@ -74,7 +74,7 @@ function deleteAccount() { if ( window.confirm( "Are you sure you want to delete your account " + - $(".displayname").text() + + document.querySelector(".displayname").textContent + " (" + localStorage.getItem("email") + ")? This action cannot be undone."