We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 43e5f06 commit 02b66fbCopy full SHA for 02b66fb
src/core/platform.js
@@ -19,12 +19,15 @@ if (typeof navigator !== 'undefined') {
19
xbox = true;
20
21
if (/(windows phone|iemobile|wpdesktop)/i.test(ua)) {
22
+ desktop = false;
23
mobile = true;
24
windows = true;
25
} else if (/android/i.test(ua)) {
26
27
28
android = true;
29
} else if (/ip([ao]d|hone)/i.test(ua)) {
30
31
32
ios = true;
33
}
0 commit comments