mirror of
https://github.com/lancedikson/bowser
synced 2026-09-20 18:36:44 +00:00
add nexus mobile to detection
This commit is contained in:
@@ -274,7 +274,7 @@
|
||||
var osMajorVersion = osVersion.split('.')[0];
|
||||
if (tablet || nexusTablet || iosdevice == 'ipad' || (android && (osMajorVersion == 3 || (osMajorVersion == 4 && !mobile))) || result.silk) {
|
||||
result.tablet = t
|
||||
} else if (mobile || iosdevice == 'iphone' || iosdevice == 'ipod' || android || result.blackberry || result.webos || result.bada) {
|
||||
} else if (mobile || iosdevice == 'iphone' || iosdevice == 'ipod' || android || nexusMobile || result.blackberry || result.webos || result.bada) {
|
||||
result.mobile = t
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user