mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-09-30 18:49:56 +08:00
not showing notification when layout is undefined
This commit is contained in:
parent
b14f70251d
commit
15223ba424
1 changed files with 1 additions and 1 deletions
|
@ -2036,7 +2036,7 @@ function startTest() {
|
|||
} else if (config.mode === "words") {
|
||||
index = Math.floor(inputHistory.length / (outof / 3));
|
||||
}
|
||||
if (config.layout !== layouts[index]) {
|
||||
if (config.layout !== layouts[index] && layouts[index] !== undefined) {
|
||||
showNotification(`--- !!! ${layouts[index]} !!! ---`, 3000);
|
||||
}
|
||||
changeLayout(layouts[index]);
|
||||
|
|
Loading…
Add table
Reference in a new issue