remove jq

This commit is contained in:
Miodec 2026-01-03 22:14:22 +01:00
parent 64a2033e42
commit fe293d4438

View file

@ -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";
}