add zero-width space

This commit is contained in:
Chloe Fontenot 🏳️‍⚧️ 2023-04-09 09:18:03 -05:00
parent 87818920ce
commit 0d7c7b6647

View File

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