mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-28 00:35:25 +08:00
refreshing keymap before showing test page
This commit is contained in:
parent
964ce3379f
commit
dc02c21c79
1 changed files with 2 additions and 0 deletions
|
@ -6,6 +6,7 @@ import * as TestLogic from "../test/test-logic";
|
|||
import * as Funbox from "../test/funbox";
|
||||
import Page from "./page";
|
||||
import { updateTestPageAds } from "../controllers/ad-controller";
|
||||
import * as Keymap from "../elements/keymap";
|
||||
|
||||
export const page = new Page(
|
||||
"test",
|
||||
|
@ -27,6 +28,7 @@ export const page = new Page(
|
|||
noAnim: true,
|
||||
});
|
||||
Funbox.activate(Config.funbox);
|
||||
Keymap.refresh();
|
||||
},
|
||||
async () => {
|
||||
TestUI.focusWords();
|
||||
|
|
Loading…
Reference in a new issue