From d20081696503fad5c04d065b4d67ae2706dff9de Mon Sep 17 00:00:00 2001 From: Matthew Patrick Date: Sun, 14 Nov 2021 04:59:00 +0700 Subject: [PATCH] register js - Remove unused function --- public/js/register.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/public/js/register.js b/public/js/register.js index c04a999..c20699d 100644 --- a/public/js/register.js +++ b/public/js/register.js @@ -5,13 +5,4 @@ function revealhidePassword() { } else { x.type = "password"; } -} - -function revealhideConfirmationPassword() { - const x = document.getElementById("password_confirmation"); - if (x.type === "password") { - x.type = "text"; - } else { - x.type = "password"; - } } \ No newline at end of file