mirror of
https://github.com/donl/meteor-ionic.git
synced 2026-06-30 06:12:08 -06:00
cleanup
This commit is contained in:
parent
55e8cd2adf
commit
2dbf71fd84
1 changed files with 2 additions and 2 deletions
|
|
@ -1,12 +1,12 @@
|
|||
Platform = {
|
||||
isIOS: function () {
|
||||
return (!!navigator.userAgent.match(/iPad/i) || !!navigator.userAgent.match(/iPhone/i) || !!navigator.userAgent.match(/iPod/i))
|
||||
|| Session.get('platformOverride') === 'iOS';
|
||||
|| Session.get('platformOverride') === 'iOS';
|
||||
},
|
||||
|
||||
isAndroid: function () {
|
||||
return navigator.userAgent.indexOf('Android') > 0
|
||||
|| Session.get('platformOverride') === 'Android';
|
||||
|| Session.get('platformOverride') === 'Android';
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue