mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-12-08 20:48:48 +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
|
if (is_vowel) arr = vowels
|
||||||
else arr = consts
|
else arr = consts
|
||||||
is_vowel = !is_vowel;
|
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
|
return word
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user