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

fix windowsphone flagged as android

Closes #167
This commit is contained in:
Benoit de La Forest
2016-10-27 17:47:18 +02:00
parent 6f218f1ac7
commit e44ca1de6e
2 changed files with 9 additions and 1 deletions

View File

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