mirror of
https://github.com/nextcloud/all-in-one.git
synced 2024-09-21 07:16:09 +08:00
Update forms.js
Signed-off-by: Zoey <zoey@z0ey.de>
This commit is contained in:
parent
ae1d14dbc5
commit
e8ed7aa236
|
@ -39,10 +39,13 @@
|
|||
document.getElementById('overlay').classList.remove('loading');
|
||||
}
|
||||
|
||||
function mirrorPassword() {
|
||||
function showPassword() {
|
||||
var Password = document.getElementById("Password");
|
||||
var mirroredPassword = document.getElementById("mirroredPassword");
|
||||
mirroredPassword.innerText = Password.value;
|
||||
if (Password.value !== "" && x.type === "password") {
|
||||
Password.type = "text";
|
||||
} else {
|
||||
Password.type = "password";
|
||||
}
|
||||
}
|
||||
|
||||
function initForm(form) {
|
||||
|
|
Loading…
Reference in a new issue