mirror of
https://github.com/dmuth/diceware.git
synced 2024-11-21 16:36:28 -05:00
Now capitalizing first word so that the resulting password is easier to read
This commit is contained in:
parent
56b024c902
commit
a109bfbb5b
1 changed files with 1 additions and 0 deletions
1
main.js
1
main.js
|
@ -73,6 +73,7 @@ function roll_dice() {
|
|||
*/
|
||||
function get_word(wordlist, index) {
|
||||
var retval = wordlist[index];
|
||||
retval = retval[0].toUpperCase() + retval.slice(1);
|
||||
return(retval);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue