This commit is contained in:
Andras Bacsai
2023-06-13 10:11:11 +02:00
parent e4704fb7e6
commit c701fbad32
5 changed files with 12 additions and 16 deletions

View File

@@ -38,10 +38,8 @@
<x-version class="fixed left-2 bottom-1" />
@auth
<script>
function changeType(id) {
console.log(id)
function changePasswordFieldType(id) {
const input = document.getElementById(id);
console.log(input)
if (input.type === 'password') {
input.type = 'text';
} else {