Now capitalizing first word so that the resulting password is easier to read

This commit is contained in:
Douglas Muth 2015-06-21 18:24:59 -04:00
parent 56b024c902
commit a109bfbb5b

View file

@ -73,6 +73,7 @@ function roll_dice() {
*/ */
function get_word(wordlist, index) { function get_word(wordlist, index) {
var retval = wordlist[index]; var retval = wordlist[index];
retval = retval[0].toUpperCase() + retval.slice(1);
return(retval); return(retval);
} }