mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-11-09 13:44:29 +08:00
Merge branch 'master' into newnav
This commit is contained in:
commit
2972f5db52
1 changed files with 5 additions and 4 deletions
|
|
@ -163,10 +163,6 @@ export function showWords(): void {
|
|||
|
||||
$("#words").html(wordsHTML);
|
||||
|
||||
if (Config.mode === "zen") {
|
||||
$(<Element>document.querySelector(".word")).remove();
|
||||
}
|
||||
|
||||
updateWordsHeight();
|
||||
}
|
||||
|
||||
|
|
@ -218,6 +214,11 @@ export function updateWordsHeight(): void {
|
|||
$(".outOfFocusWarning").css("line-height", wordHeight * 3 + "px");
|
||||
}
|
||||
}
|
||||
|
||||
if (Config.mode === "zen") {
|
||||
$(<Element>document.querySelector(".word")).remove();
|
||||
}
|
||||
|
||||
updateActiveElement();
|
||||
Caret.updatePosition();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue