aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMiodec <[email protected]>2023-03-07 21:06:44 +0100
committerMiodec <[email protected]>2023-03-07 21:06:44 +0100
commit4e9c432c6403db469513824291f5a8e3a83aa199 (patch)
tree10c526e0df2432a4d127b3fa1172b9e3a7b83583
parent6a587ede8d6f9bbca9c3d811de71c9c3c43fd94a (diff)
downloadmonkeytype-4e9c432c6403db469513824291f5a8e3a83aa199.tar.gz
monkeytype-4e9c432c6403db469513824291f5a8e3a83aa199.zip
moved funciton call
-rw-r--r--frontend/src/ts/test/test-ui.ts2
1 files changed, 1 insertions, 1 deletions
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 {
$(<Element>document.querySelector(".word")).remove();
}
- updateActiveElement();
Caret.updatePosition();
}