|
@@ -83,7 +83,7 @@ window._getMktCode = getMktc; |
|
@@ -83,7 +83,7 @@ window._getMktCode = getMktc; |
83
|
const getIOSVersion = () => {
|
83
|
const getIOSVersion = () => {
|
84
|
const verion = navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/);
|
84
|
const verion = navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/);
|
85
|
|
85
|
|
86
|
- return parseInt(verion[1], 10);
|
86
|
+ return verion ? parseInt(verion[1], 10) : 0;
|
87
|
};
|
87
|
};
|
88
|
const ua = navigator.userAgent;
|
88
|
const ua = navigator.userAgent;
|
89
|
const isOriginalChrome = /chrome\/[\d.]+ Mobile Safari\/[\d.]+/i.test(ua) &&
|
89
|
const isOriginalChrome = /chrome\/[\d.]+ Mobile Safari\/[\d.]+/i.test(ua) &&
|