hiding the keymap in the middle of the animation to avoid the page jumping while finishing a test

This commit is contained in:
Miodec 2021-06-05 13:29:34 +01:00
parent 5179eece78
commit 0143622362

View file

@ -1007,7 +1007,6 @@ export function finish(difficultyFailed = false) {
PbCrown.hide();
LiveAcc.hide();
TimerProgress.hide();
Keymap.hide();
Funbox.activate("none", null);
if (
@ -1883,6 +1882,8 @@ export function finish(difficultyFailed = false) {
TestUI.toggleResultWords();
}
$("#testModesNotice").addClass("hidden");
}, () => {
Keymap.hide();
});
}