We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 642bc63 commit fdbc4d0Copy full SHA for fdbc4d0
1 file changed
dom/password_show.js
@@ -0,0 +1,10 @@
1
+// show password
2
+ function togglePassword() {
3
+ const passwordField = document.getElementById("password");
4
+ if (passwordField.type === "password") {
5
+ passwordField.type = "text";
6
+ } else {
7
+ passwordField.type = "password";
8
+ }
9
10
+
0 commit comments