From 18403783d5d9f7951a328b65805363f045ff2be5 Mon Sep 17 00:00:00 2001 From: Ilija Vukotic Date: Tue, 26 Mar 2024 12:55:50 -0500 Subject: [PATCH] Fix invalid email alert message --- views/profile.pug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/profile.pug b/views/profile.pug index 20f582c..c7c8100 100644 --- a/views/profile.pug +++ b/views/profile.pug @@ -51,7 +51,7 @@ block extra_scripts } if (prefs[i].type === 'email'){ if (prefs[i].value!=="" && isValidEmail(prefs[i].value)===false){ - alert(`Please input valid email for the ${prefs[i]}`); + alert(`Please input valid email for the ${prefs[i].name}`); } data[prefs[i].id]=prefs[i].value; }