Skip to content

Commit

Permalink
Merge pull request #22 from noriyotcp/debugging-on-mobile
Browse files Browse the repository at this point in the history
Omit window object
  • Loading branch information
noriyotcp authored Oct 4, 2024
2 parents 6f92681 + 23595ab commit 41cd889
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/detectOS.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export function detectOS() {
const userAgent = window.navigator.userAgent.toLowerCase();
const userAgent = navigator.userAgent.toLowerCase();

// Detect macOS
if (
Expand Down

0 comments on commit 41cd889

Please sign in to comment.