mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-20 13:24:24 -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);
|
randomstring += chars.substring(rnum,rnum+1);
|
||||||
}
|
}
|
||||||
document.v_add_mail_acc.v_password.value = randomstring;
|
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() {
|
$(document).ready(function() {
|
||||||
$('#v_account').text($('input[name=v_account]').val());
|
$('#v_account').text($('input[name=v_account]').val());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue