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.
2 parents e13f164 + 147402f commit e9b170eCopy full SHA for e9b170e
src/components/helpers/get-ua-data.js
@@ -30,6 +30,6 @@ export const getNavigatorInstance = () => {
30
export const isIOS13Check = type => {
31
const nav = getNavigatorInstance();
32
return (
33
- nav && (nav.platform.indexOf(type) !== -1 || (nav.platform === 'MacIntel' && nav.maxTouchPoints > 1 && !window.MSStream))
+ nav && nav.platform && (nav.platform.indexOf(type) !== -1 || (nav.platform === 'MacIntel' && nav.maxTouchPoints > 1 && !window.MSStream))
34
);
35
};
0 commit comments