add zero-width space

This commit is contained in:
Chloe Fontenot 🏳️‍⚧️ 2023-04-09 09:17:18 -05:00
parent 030c776c3d
commit 87818920ce

View File

@ -215,7 +215,7 @@ function charIterate(input) {
if (charIterateState == undefined) {
charIterateState = 0;
}
if (charIterateState <= input.length) {
if (charIterateState < (input.length + 1)) {
charIterateState++;
} else {
charIterateState = 0;