mirror of
https://github.com/valitydev/fraudbusters-compose.git
synced 2024-11-06 00:15:18 +00:00
Refactor change pass page
This commit is contained in:
parent
fa6e0456ae
commit
f013120df4
@ -6,9 +6,9 @@
|
||||
<link href="https://fonts.googleapis.com/css?family=Muli" rel="stylesheet"/>
|
||||
<link href="${url.resourcesPath}/img/favicon.png" rel="icon"/>
|
||||
<script>
|
||||
function togglePassword(id, elementId) {
|
||||
var x = document.getElementById(id);
|
||||
var v = document.getElementById(elementId);
|
||||
function togglePassword(inputPasswordId, eyeImageId) {
|
||||
var x = document.getElementById(inputPasswordId);
|
||||
var v = document.getElementById(eyeImageId);
|
||||
if (x.type === "password") {
|
||||
x.type = "text";
|
||||
v.src = "${url.resourcesPath}/img/eye.png";
|
||||
|
Loading…
Reference in New Issue
Block a user