Skip to content

Commit

Permalink
HELLO?
Browse files Browse the repository at this point in the history
  • Loading branch information
bwmp committed Jun 1, 2024
1 parent 07cf1a8 commit e6313a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit e6313a2

Please sign in to comment.