From 4e9c432c6403db469513824291f5a8e3a83aa199 Mon Sep 17 00:00:00 2001 From: Miodec Date: Tue, 7 Mar 2023 21:06:44 +0100 Subject: moved funciton call --- frontend/src/ts/test/test-ui.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/ts/test/test-ui.ts b/frontend/src/ts/test/test-ui.ts index 6dcc8c31c..f89169a83 100644 --- a/frontend/src/ts/test/test-ui.ts +++ b/frontend/src/ts/test/test-ui.ts @@ -191,6 +191,7 @@ export function showWords(): void { $("#words").html(wordsHTML); + updateActiveElement(); updateWordsHeight(true); updateWordsInputPosition(true); } @@ -308,7 +309,6 @@ function updateWordsHeight(force = false): void { $(document.querySelector(".word")).remove(); } - updateActiveElement(); Caret.updatePosition(); } -- cgit v1.2.3