mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-12-29 11:26:13 +08:00
more bug fixes from the merge
This commit is contained in:
parent
2aa396ca58
commit
932be53bb3
2 changed files with 6 additions and 2 deletions
|
|
@ -114,7 +114,11 @@ class Input {
|
|||
}
|
||||
|
||||
getHistory(i) {
|
||||
return this.history[i];
|
||||
if (i === undefined) {
|
||||
return this.history;
|
||||
} else {
|
||||
return this.history[i];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1386,7 +1386,7 @@ socket.on("mp_room_test_start", (data) => {
|
|||
// startTest();
|
||||
setTimeout(() => {
|
||||
if (!TestLogic.active) {
|
||||
startTest();
|
||||
TestLogic.startTest();
|
||||
}
|
||||
}, 500);
|
||||
// Notifications.add("test starting",0);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue