Commit 172ded6
committed
Fix TypeError when converting back to password
After the password input has been converted to text, there is no
input matching type=password. However, the JS assumed there is which
resuled in a TypeError due to a null result when it looked for the
input. This fixes the problem by selecting by class instead.1 parent b259ed9 commit 172ded6
1 file changed
+4
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
2 | 4 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
| 5 | + | |
| 6 | + | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
| |||
0 commit comments