This commit is contained in:
Andras Bacsai
2023-06-16 10:32:29 +02:00
parent ca9ac9f92b
commit 05c9126184
11 changed files with 118 additions and 123 deletions

View File

@@ -26,6 +26,17 @@
{{ $slot }}
</main>
<x-version class="fixed left-2 bottom-1" />
<script>
function changePasswordFieldType(id) {
console.log(id)
const input = document.getElementById(id);
if (input.type === 'password') {
input.type = 'text';
} else {
input.type = 'password';
}
}
</script>
</body>
</html>