1
0
mirror of https://github.com/lancedikson/bowser synced 2026-03-02 03:40:27 +00:00

Fix WindowsPhone flagged as iOS

Related to !168
This commit is contained in:
Benoit de La Forest
2016-10-28 13:01:55 +02:00
parent 155eaeb04d
commit 9f31efa62f
2 changed files with 3 additions and 2 deletions

View File

@@ -323,7 +323,7 @@
// set OS flags for platforms that have multiple browsers
if (!result.windowsphone && !result.msedge && (android || result.silk)) {
result.android = t
} else if (iosdevice) {
} else if (!result.windowsphone && !result.msedge && iosdevice) {
result[iosdevice] = t
result.ios = t
} else if (mac) {