This commit is contained in:
Andras Bacsai
2023-06-16 15:06:37 +02:00
parent b948457115
commit 3f28d19e06
4 changed files with 10 additions and 3 deletions

View File

@@ -56,6 +56,13 @@
element.children[0].type = 'password';
}
}
if (element.nodeName === 'svg') {
if (element.parentElement.parentElement.children[0].type === 'password') {
element.parentElement.parentElement.children[0].type = 'text';
} else {
element.parentElement.parentElement.children[0].type = 'password';
}
}
}
function revive() {