From 92f1ba65290ab4c12b944e84073d5a9906bc86c5 Mon Sep 17 00:00:00 2001 From: Eduardo Silva Date: Wed, 22 May 2024 22:40:34 +0100 Subject: [PATCH] It seems we wont have fancy asterisks, for now at least --- faxSrc/assets/htmx/login.html | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/faxSrc/assets/htmx/login.html b/faxSrc/assets/htmx/login.html index 9efcaf2..d5461e2 100644 --- a/faxSrc/assets/htmx/login.html +++ b/faxSrc/assets/htmx/login.html @@ -59,14 +59,4 @@ console.error(error); }); }); - - // Replace the dots by asterisks - loginPass = document.getElementById("login-pass") - loginPass.addEventListener("keydown", function() { - - const curVal = loginPass.value; - const newVal = curVal.replace(new RegExp(curVal, 'g'), '*'); - - loginPass.value = newVal; - }) \ No newline at end of file