Skip to content

Commit 0eaca00

Browse files
committed
fixed a bug that would allow you to enter incorrect words in master mode
1 parent c2629c6 commit 0eaca00

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

public/js/script.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1244,7 +1244,7 @@ $(document).keydown((event) => {
12441244
if (currentWordIndex == wordsList.length) {
12451245
showResult();
12461246
return;
1247-
}else if(config.difficulty == "expert"){
1247+
}else if(config.difficulty == "expert" || config.difficulty == "master"){
12481248
showResult(true);
12491249
return;
12501250
}

0 commit comments

Comments
 (0)