Skip to content

Commit

Permalink
Swapped checked/unchecked state
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesbiggs committed Jul 19, 2023
1 parent 637082c commit 1f098f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/password_pages/password_required.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ <h1>Password required</h1>
function switchPasswordVisibility(event) {
var x = document.getElementById("id_password");
if (event.currentTarget.checked) {
x.type = "password";
} else {
x.type = "text";
} else {
x.type = "password";
}
}

Expand Down

0 comments on commit 1f098f4

Please sign in to comment.