[mobile] Fix bug 44004 (#325)
This commit is contained in:
parent
83bc8ae4b2
commit
e8bbf65fca
|
@ -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