register.html - Changed var to const (Quick fix)

This commit is contained in:
Matthew Patrick 2021-09-20 08:07:50 +07:00
parent d6426c5837
commit 1eb585a1d2

View file

@ -224,7 +224,7 @@
<script>
function revealhidePassword() {
var x = document.getElementById("password");
const x = document.getElementById("password");
if (x.type === "password") {
x.type = "text";
} else {
@ -233,7 +233,7 @@
}
function revealhideConfirmationPassword() {
var x = document.getElementById("password_confirmation");
const x = document.getElementById("password_confirmation");
if (x.type === "password") {
x.type = "text";
} else {