[mobile] Fix bug 44004
This commit is contained in:
parent
0a7fbab33f
commit
784a035974
|
@ -51,7 +51,7 @@ define([
|
|||
|
||||
function isPhone() {
|
||||
var ua = navigator.userAgent,
|
||||
isMobile = /Mobile(\/|\s)/.test(ua);
|
||||
isMobile = /Mobile(\/|\s|;)/.test(ua);
|
||||
|
||||
return /(iPhone|iPod)/.test(ua) ||
|
||||
(!/(Silk)/.test(ua) && (/(Android)/.test(ua) && (/(Android 2)/.test(ua) || isMobile))) ||
|
||||
|
|
|
@ -51,7 +51,7 @@ define([
|
|||
|
||||
function isPhone() {
|
||||
var ua = navigator.userAgent,
|
||||
isMobile = /Mobile(\/|\s)/.test(ua);
|
||||
isMobile = /Mobile(\/|\s|;)/.test(ua);
|
||||
|
||||
return /(iPhone|iPod)/.test(ua) ||
|
||||
(!/(Silk)/.test(ua) && (/(Android)/.test(ua) && (/(Android 2)/.test(ua) || isMobile))) ||
|
||||
|
|
|
@ -50,7 +50,7 @@ define([
|
|||
|
||||
function isPhone() {
|
||||
var ua = navigator.userAgent,
|
||||
isMobile = /Mobile(\/|\s)/.test(ua);
|
||||
isMobile = /Mobile(\/|\s|;)/.test(ua);
|
||||
|
||||
return /(iPhone|iPod)/.test(ua) ||
|
||||
(!/(Silk)/.test(ua) && (/(Android)/.test(ua) && (/(Android 2)/.test(ua) || isMobile))) ||
|
||||
|
|
Loading…
Reference in a new issue