sending theme to the database when completing test

This commit is contained in:
Jack 2020-05-30 15:18:23 +01:00
parent ef91d87620
commit 79a5843f2c

View file

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