navigate to desktop page when use tablet device
This commit is contained in:
+1
-1
@@ -13,7 +13,7 @@ function isMobileDevice() {
|
|||||||
|
|
||||||
const device = uaParseRet.device;
|
const device = uaParseRet.device;
|
||||||
|
|
||||||
if (device.type === 'mobile' || device.type === 'tablet' || device.type === 'wearable' || device.type === 'embedded') {
|
if (device.type === 'mobile' || device.type === 'wearable' || device.type === 'embedded') {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user