mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-05 13:27:49 +08:00
showing if opposite shift keymap is enabled
This commit is contained in:
parent
8112c55d23
commit
48f1407b5c
1 changed files with 4 additions and 2 deletions
|
@ -622,9 +622,11 @@ export function updateModesNotice() {
|
|||
);
|
||||
}
|
||||
|
||||
if (Config.oppositeShiftMode === "on") {
|
||||
if (Config.oppositeShiftMode !== "off") {
|
||||
$(".pageTest #testModesNotice").append(
|
||||
`<div class="text-button" commands="commandsOppositeShiftMode"><i class="fas fa-exchange-alt"></i>opposite shift</div>`
|
||||
`<div class="text-button" commands="commandsOppositeShiftMode"><i class="fas fa-exchange-alt"></i>opposite shift${
|
||||
Config.oppositeShiftMode === "keymap" ? " (keymap)" : ""
|
||||
}</div>`
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue