mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-03-13 15:36:42 +08:00
fixed words being set to height 0 when restarting the test in time mode
This commit is contained in:
parent
60fb77b346
commit
0d0398d82d
1 changed files with 1 additions and 0 deletions
|
@ -215,6 +215,7 @@ function showWords() {
|
|||
w += "</div>";
|
||||
$("#words").append(w);
|
||||
}
|
||||
$("#words").removeClass('hidden');
|
||||
const wordHeight = $($(".word")[0]).outerHeight();
|
||||
$("#words").css("height", wordHeight * 3 + 'px').css("overflow", "hidden");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue