mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-19 22:16:49 +00:00
Update forms.js
Signed-off-by: Zoey <zoey@z0ey.de>
This commit is contained in:
parent
ae1d14dbc5
commit
e8ed7aa236
1 changed files with 6 additions and 3 deletions
|
|
@ -39,10 +39,13 @@
|
||||||
document.getElementById('overlay').classList.remove('loading');
|
document.getElementById('overlay').classList.remove('loading');
|
||||||
}
|
}
|
||||||
|
|
||||||
function mirrorPassword() {
|
function showPassword() {
|
||||||
var Password = document.getElementById("Password");
|
var Password = document.getElementById("Password");
|
||||||
var mirroredPassword = document.getElementById("mirroredPassword");
|
if (Password.value !== "" && x.type === "password") {
|
||||||
mirroredPassword.innerText = Password.value;
|
Password.type = "text";
|
||||||
|
} else {
|
||||||
|
Password.type = "password";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function initForm(form) {
|
function initForm(form) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue