From 79a5843f2c6faecb72f62857662bb048839043f0 Mon Sep 17 00:00:00 2001 From: Jack Date: Sat, 30 May 2020 15:18:23 +0100 Subject: [PATCH] sending theme to the database when completing test --- public/js/script.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/js/script.js b/public/js/script.js index 1bc6f70dc..4f64b8ddd 100644 --- a/public/js/script.js +++ b/public/js/script.js @@ -544,7 +544,8 @@ function showResult(difficultyFailed = false) { restartCount: restartCount, difficulty: config.difficulty, testDuration: testtime, - blindMode: config.blindMode + blindMode: config.blindMode, + theme: config.theme }; if(config.difficulty == "normal" || ((config.difficulty == "master" || config.difficulty == "expert") && !difficultyFailed)){ restartCount = 0;