mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2026-01-14 11:24:11 +08:00
remove jq
This commit is contained in:
parent
64a2033e42
commit
fe293d4438
1 changed files with 6 additions and 1 deletions
|
|
@ -647,7 +647,12 @@ export function updateWordsWrapperHeight(force = false): void {
|
|||
}
|
||||
}
|
||||
|
||||
$("#typingTest .tribeCountdown").css("line-height", wordHeight * 3 + "px");
|
||||
const tribeCountdownEl = document.querySelector<HTMLElement>(
|
||||
"#typingTest .tribeCountdown",
|
||||
);
|
||||
if (tribeCountdownEl) {
|
||||
tribeCountdownEl.style.lineHeight = wordHeight * 3 + "px";
|
||||
}
|
||||
outOfFocusEl.style.maxHeight = wordHeight * 3 + "px";
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue