mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-11 00:03:44 +08:00
fixed #1424
This commit is contained in:
parent
272581e7a3
commit
722997d4bf
1 changed files with 8 additions and 4 deletions
|
@ -15,10 +15,14 @@ export function init() {
|
|||
Notifications.add("You haven't missed any words.", 0);
|
||||
return;
|
||||
}
|
||||
let mode = before.mode === null ? Config.mode : before.mode;
|
||||
let punctuation =
|
||||
before.punctuation === null ? Config.punctuation : before.punctuation;
|
||||
let numbers = before.numbers === null ? Config.numbers : before.numbers;
|
||||
before = {
|
||||
mode: null,
|
||||
punctuation: null,
|
||||
numbers: null,
|
||||
};
|
||||
let mode = Config.mode;
|
||||
let punctuation = Config.punctuation;
|
||||
let numbers = Config.numbers;
|
||||
UpdateConfig.setMode("custom");
|
||||
let newCustomText = [];
|
||||
Object.keys(TestStats.missedWords).forEach((missedWord) => {
|
||||
|
|
Loading…
Reference in a new issue