mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2026-01-06 23:44:19 +08:00
sending theme to the database when completing test
This commit is contained in:
parent
ef91d87620
commit
79a5843f2c
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue