mirror of
https://gitlab.com/nekoya/web.git
synced 2025-01-24 09:16:14 +01:00
register.html - Changed var to const (Quick fix)
This commit is contained in:
parent
d6426c5837
commit
1eb585a1d2
1 changed files with 2 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue