mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 18:49:21 -07:00
fix for js hint
This commit is contained in:
parent
ae15d93763
commit
ec43524083
1 changed files with 5 additions and 0 deletions
|
@ -49,6 +49,11 @@
|
|||
randomstring += chars.substring(rnum,rnum+1);
|
||||
}
|
||||
document.v_add_mail_acc.v_password.value = randomstring;
|
||||
|
||||
if($('input[name=v_password]').attr('type') == 'text')
|
||||
$('#v_password').text(randomstring);
|
||||
else
|
||||
$('#v_password').text(Array(randomstring.length+1).join('*'));
|
||||
}
|
||||
$(document).ready(function() {
|
||||
$('#v_account').text($('input[name=v_account]').val());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue