From 726f834a60cf0f8b8195b8623d4d144e67cde524 Mon Sep 17 00:00:00 2001 From: Jack Date: Sun, 6 Sep 2020 02:00:37 +0100 Subject: [PATCH] fixed an issue where the request would be too large on long tests --- public/js/script.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/public/js/script.js b/public/js/script.js index 1fe767023..ca5d54813 100644 --- a/public/js/script.js +++ b/public/js/script.js @@ -1774,7 +1774,11 @@ function showResult(difficultyFailed = false) { err: errorsNoZero, }; - if (testtime > 122) chartData = "toolong"; + if (testtime > 122) { + chartData = "toolong"; + keypressStats.spacing.array = "toolong"; + keypressStats.duration.array = "toolong"; + } let completedEvent = { wpm: stats.wpm,