mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Fix for undefined in ids, closes #130
This commit is contained in:
@@ -750,7 +750,7 @@ function rndName(seed, len) {
|
||||
if (is_vowel) arr = vowels
|
||||
else arr = consts
|
||||
is_vowel = !is_vowel;
|
||||
word += arr[(seed[i%seed.length].charCodeAt()+i) % arr.length-1];
|
||||
word += arr[(seed[i%seed.length].charCodeAt()+i) % (arr.length-1)];
|
||||
}
|
||||
return word
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user