fixed an issue where the request would be too large on long tests

This commit is contained in:
Jack 2020-09-06 02:00:37 +01:00
parent 9605957aef
commit 726f834a60

View file

@ -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,