From e6313a2453f2a2ae82d6c59724074eb20e2297c0 Mon Sep 17 00:00:00 2001 From: AkiraDev Date: Sat, 1 Jun 2024 16:41:36 -0700 Subject: [PATCH] HELLO? --- src/root.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/root.tsx b/src/root.tsx index eb26b47f..1d6b8f25 100755 --- a/src/root.tsx +++ b/src/root.tsx @@ -21,7 +21,7 @@ export default component$(() => { useQwikSpeak({ config, translationFn }); useOnDocument('load', $(() => { - let platform = navigator.userAgentData?.platform || navigator.platform || 'unknown'; + let platform = navigator.platform || 'unknown'; if (platform.toUpperCase().indexOf('MAC') >= 0) { document.querySelectorAll('.scale-for-mac').forEach(function(element) { element.classList.add('macos-zoom-fix');