Skip to content

Commit

Permalink
fix: ios always undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
bartduisters committed Apr 22, 2024
1 parent 6a3f916 commit af009d6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ui/src/plugins/platform/Platform.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,9 @@ function getPlatform (UA) {
browser.firefox = true
matched.browser = 'firefox'
}

// Set iOS if on iPod, iPad or iPhone
else if (browser.ipod || browser.ipad || browser.iphone) {
if (browser.ipod || browser.ipad || browser.iphone) {
browser.ios = true
}

Expand Down

0 comments on commit af009d6

Please sign in to comment.