We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55e8cd2 commit 2dbf71fCopy full SHA for 2dbf71f
components/ionBody/ionBody.js
@@ -1,12 +1,12 @@
1
Platform = {
2
isIOS: function () {
3
return (!!navigator.userAgent.match(/iPad/i) || !!navigator.userAgent.match(/iPhone/i) || !!navigator.userAgent.match(/iPod/i))
4
- || Session.get('platformOverride') === 'iOS';
+ || Session.get('platformOverride') === 'iOS';
5
},
6
7
isAndroid: function () {
8
return navigator.userAgent.indexOf('Android') > 0
9
- || Session.get('platformOverride') === 'Android';
+ || Session.get('platformOverride') === 'Android';
10
}
11
};
12
0 commit comments