always showing edge warning since the check is not correct

This commit is contained in:
Miodec 2022-06-03 15:47:25 +02:00
parent e0cb73cc10
commit 92f204e412

View file

@ -221,11 +221,9 @@ export async function start(): Promise<void> {
if (slowTimerCount > 5) {
//slow timer
if (window.navigator.userAgent.includes("Edg")) {
Notifications.add(
'This bad performance could be caused by "efficiency mode" on Microsoft Edge.'
);
}
Notifications.add(
'This could be caused by "efficiency mode" on Microsoft Edge.'
);
Notifications.add(
"Stopping the test due to bad performance. This would cause test calculations to be incorrect. If this happens a lot, please report this.",