mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-04 04:51:16 +08:00
reverting to english language instead of showing error
This commit is contained in:
parent
5f6acaa600
commit
66cae29fad
1 changed files with 2 additions and 2 deletions
|
@ -81,8 +81,8 @@ function initWords() {
|
|||
let language = words[config.language];
|
||||
|
||||
if (language == undefined || language == []) {
|
||||
showNotification("Error generating word list", 3000);
|
||||
return;
|
||||
config.language = "english";
|
||||
language = words[config.language];
|
||||
}
|
||||
|
||||
if (config.mode == "time" || config.mode == "words") {
|
||||
|
|
Loading…
Reference in a new issue