first commit
This commit is contained in:
10
Html/html/login.js
Normal file
10
Html/html/login.js
Normal file
@@ -0,0 +1,10 @@
|
||||
function showPasswordLogin() {
|
||||
const show = document.getElementById('login_password').type;
|
||||
if (show === 'password') {
|
||||
document.getElementById('login_password').type = 'text';
|
||||
document.getElementById('buttonShowPasswordLogin').className = 'fa-solid fa-eye-slash';
|
||||
} else {
|
||||
document.getElementById('login_password').type = 'password';
|
||||
document.getElementById('buttonShowPasswordLogin').className = 'fa-solid fa-eye';
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user