mirror of
https://gitlab.com/nekoya/web.git
synced 2024-11-26 08:17:49 +01:00
Add login.js
This commit is contained in:
parent
bb3bc3bded
commit
82eab88088
1 changed files with 8 additions and 0 deletions
8
public/js/login.js
Normal file
8
public/js/login.js
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
function revealhidePassword() {
|
||||||
|
const x = document.getElementById("exampleDropdownFormPassword1");
|
||||||
|
if (x.type === "password") {
|
||||||
|
x.type = "text";
|
||||||
|
} else {
|
||||||
|
x.type = "password";
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue