-
Notifications
You must be signed in to change notification settings - Fork 140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added Show/Hide password in signup page #447
base: master
Are you sure you want to change the base?
Conversation
Adds show/hide password button on signup page. Fixes fossasia#445
toggle.classList.toggle("fa-eye"); | ||
toggle.classList.toggle("fa-eye-slash"); | ||
if (toggle.classList.contains("fa-eye-slash")) { | ||
document.getElementById("password").type = "password"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of document.getElementById("password")
you can use password
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same at line 32.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please do the suggested changes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please finalize the PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please do the following changes.
Fixes #445
Checklist
master
branch.Short description of what this resolves:
Adds show/hide password button on signup page.