From 1edb684662066d31a5255a70943c3f29185a99b9 Mon Sep 17 00:00:00 2001 From: zumbiepig <121742281+zumbiepig@users.noreply.github.com> Date: Mon, 26 Aug 2024 12:18:31 -0700 Subject: [PATCH] Update main.ts Signed-off-by: zumbiepig <121742281+zumbiepig@users.noreply.github.com> --- src/resources/scripts/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/resources/scripts/main.ts b/src/resources/scripts/main.ts index 2cd329b..3b64245 100644 --- a/src/resources/scripts/main.ts +++ b/src/resources/scripts/main.ts @@ -265,7 +265,7 @@ const detect = { try { document.exitPointerLock(); return /Mobi/i.test(window.navigator.userAgent); - } catch (e) { + } catch { return true; } },