From 92f204e4129a59be5a8163d33e542451ff8d42a0 Mon Sep 17 00:00:00 2001 From: Miodec Date: Fri, 3 Jun 2022 15:47:25 +0200 Subject: [PATCH] always showing edge warning since the check is not correct --- frontend/src/ts/test/test-timer.ts | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/frontend/src/ts/test/test-timer.ts b/frontend/src/ts/test/test-timer.ts index 6cf091582..14c53dccd 100644 --- a/frontend/src/ts/test/test-timer.ts +++ b/frontend/src/ts/test/test-timer.ts @@ -221,11 +221,9 @@ export async function start(): Promise { 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.",