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');