updated logic to avoid double update on test restart

This commit is contained in:
Miodec 2023-03-08 14:06:45 +01:00
parent 06d797bd99
commit e1ab1b676c

View file

@ -138,8 +138,8 @@ export function updateActiveElement(
});
}
} catch (e) {}
if (initial || shouldUpdateWordsInputPosition()) {
updateWordsInputPosition(initial);
if (!initial && shouldUpdateWordsInputPosition()) {
updateWordsInputPosition();
}
}