missing result visible check

This commit is contained in:
Miodec 2022-05-14 20:28:55 +02:00
parent 2a116763ed
commit 83cc9848e6

View file

@ -629,8 +629,8 @@ function handleTab(event: JQuery.KeyDownEvent, popupVisible: boolean): void {
ManualRestart.reset();
}
// insert tab character if needed
if (shouldInsertTabCharacter) {
// insert tab character if needed (only during the test)
if (!TestUI.resultVisible && shouldInsertTabCharacter) {
event.preventDefault();
handleChar("\t", TestInput.input.current.length);
setWordsInput(" " + TestInput.input.current);