fix for js hint

This commit is contained in:
Serghey Rodin 2015-10-28 16:38:34 +02:00
commit ec43524083

View file

@ -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());