mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-09-22 16:26:18 +08:00
fixed keymap mode next not working
This commit is contained in:
parent
8f64327e9f
commit
1239f7c1bb
|
@ -4,7 +4,7 @@ import layouts from "./layouts";
|
|||
|
||||
//TODO remove after wordslist and currentinput and current word index are in a module
|
||||
export function highlightKey(currentKey) {
|
||||
if (Config.keymapMode === "next") return;
|
||||
if (Config.mode === "zen") return;
|
||||
try {
|
||||
if ($(".active-key") != undefined) {
|
||||
$(".active-key").removeClass("active-key");
|
||||
|
|
Loading…
Reference in a new issue