mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-19 22:16:49 +00:00
Update php/public/forms.js
Co-authored-by: Simon L. <szaimen@e.mail.de> Signed-off-by: Zoey <zoey@z0ey.de>
This commit is contained in:
parent
559101a308
commit
dd02dc82a5
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@
|
|||
|
||||
function showPassword(id) {
|
||||
let passwordField = document.getElementById(id);
|
||||
if (passwordField.value !== "" && passwordField.type !== "text") {
|
||||
if (passwordField.type === "password" && passwordField.value !== "") {
|
||||
passwordField.type = "text";
|
||||
} else if (passwordField.value === "" && passwordField.type !== "password") {
|
||||
passwordField.type = "password";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue