|
|
@@ -1,7 +1,6 @@
|
|
|
const userAgent = window.navigator.userAgent.toLowerCase();
|
|
|
-// TODO: impl more accurate logic
|
|
|
// https://youtrack.weseek.co.jp/issue/GW-4826
|
|
|
-const isOldIos = /iphone os 12/.test(userAgent);
|
|
|
+const isOldIos = /(iphone|ipad|ipod) os (9|10|11|12)/.test(userAgent);
|
|
|
|
|
|
/**
|
|
|
* Apply 'oldIos' attribute to <html></html>
|