From 5b67843977831c25c202f452994f8dc3b279e3ab Mon Sep 17 00:00:00 2001 From: Denis Demchenko Date: Sat, 16 Apr 2016 19:00:31 +0300 Subject: [PATCH] add nexus mobile to detection --- src/bowser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bowser.js b/src/bowser.js index 0ddf1fa..6958250 100644 --- a/src/bowser.js +++ b/src/bowser.js @@ -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 }