From 3ac6df156185eed47265bd5b2f2ae2c37430f3df Mon Sep 17 00:00:00 2001 From: Miodec Date: Mon, 10 May 2021 13:26:26 +0100 Subject: [PATCH] words will no longer jump up slightly when finishing a test --- src/js/test/test-logic.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/js/test/test-logic.js b/src/js/test/test-logic.js index 9a6fae41a..196a2eae2 100644 --- a/src/js/test/test-logic.js +++ b/src/js/test/test-logic.js @@ -1127,8 +1127,7 @@ export function finish(difficultyFailed = false) { ); }, 125); - $("#testModesNotice").addClass("hidden"); - + $("#testModesNotice").css("opacity",0); $("#result .stats .leaderboards .bottom").text(""); $("#result .stats .leaderboards").addClass("hidden"); @@ -1819,6 +1818,7 @@ export function finish(difficultyFailed = false) { if (Config.alwaysShowWordsHistory) { TestUI.toggleResultWords(); } + $("#testModesNotice").addClass("hidden"); }); }