From 41e539076aaad1eb8059ac88c035196d395aebba Mon Sep 17 00:00:00 2001 From: wiki-Bird <41028518+wiki-Bird@users.noreply.github.com> Date: Fri, 18 Aug 2023 13:55:11 +1200 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=96=20Update=20ReadMe?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- scripts/typing.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e702f9f..dba2add 100644 --- a/README.md +++ b/README.md @@ -50,6 +50,6 @@ - [x] Fixed backspace bug - [x] Time trial gamemode - [x] Blur on not focused -- [ ] Alphabet gamemode +- [x] Alphabet gamemode - [ ] Pi gamemode - [ ] Multiplayer diff --git a/scripts/typing.js b/scripts/typing.js index f2ad1c8..3f28030 100644 --- a/scripts/typing.js +++ b/scripts/typing.js @@ -109,7 +109,7 @@ document.addEventListener("DOMContentLoaded", function() { } back = false; } - else if (newestChar == " " || newestChar == "Enter" || event.inputType == "insertLineBreak" || event.inputType == "insertParagraph") { + else if ((newestChar == " " || newestChar == "Enter" || event.inputType == "insertLineBreak" || event.inputType == "insertParagraph") && !document.querySelector(".timeStat")) { linesCheck(); wordsWritten++; if (nextLetter != false) {