diff --git a/assets/js/detectOS.js b/assets/js/detectOS.js index 586a71c..641d071 100644 --- a/assets/js/detectOS.js +++ b/assets/js/detectOS.js @@ -1,5 +1,5 @@ export function detectOS() { - const userAgent = window.navigator.userAgent.toLowerCase(); + const userAgent = navigator.userAgent.toLowerCase(); // Detect macOS if (