diff options
author | Erich Eckner <erich.eckner.ext@bestsecret.com> | 2023-02-03 13:13:49 +0100 |
---|---|---|
committer | Erich Eckner <erich.eckner.ext@bestsecret.com> | 2023-02-03 13:13:49 +0100 |
commit | c3996421480c3df6f7e86b8aedf1c11e0b7be618 (patch) | |
tree | d1e47ac2b86cdd40698a4ed87c65db77f40a5210 /src/Wordle.vue | |
parent | e17699d4c395b521395871760bb08dee877fe691 (diff) | |
download | wordle-frontend-c3996421480c3df6f7e86b8aedf1c11e0b7be618.tar.xz |
fix removal of letters
Diffstat (limited to 'src/Wordle.vue')
-rw-r--r-- | src/Wordle.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wordle.vue b/src/Wordle.vue index 302f965..504e7c6 100644 --- a/src/Wordle.vue +++ b/src/Wordle.vue @@ -40,7 +40,7 @@ function addLetter(letter: string) { } function removeLetter() { - current.trial = current.trial.substring(0, -1); + current.trial = current.trial.substring(0, current.trial.length-1); } function submit() { |