Files
safekat/httpdocs/assets/js/login.js
2023-05-16 10:49:31 +02:00

22 lines
749 B
JavaScript

function load(){
"use strict";
document.getElementById('msg').style.display = 'block';
setTimeout(function(){
document.getElementById("sendForm").submit();
}, 500);
}
function pass(){
"use strict";
if(document.getElementById('password').type === 'text'){
document.getElementById('password').type = 'password';
document.getElementById('show_pass').innerHTML = '<i class="ti ti-eye"></i>';
}else{
document.getElementById('password').type = 'text';
document.getElementById('show_pass').innerHTML = '<i class="ti ti-eye-off"></i>';
}
}
function accepted(){
"use strict";
document.getElementById('accept').checked = true;
$('.terms-conditions-modal-lg').modal('hide');
}