diff --git a/apps/documenteditor/mobile/app/controller/Editor.js b/apps/documenteditor/mobile/app/controller/Editor.js index a48c17dbcd..15c6c499ad 100644 --- a/apps/documenteditor/mobile/app/controller/Editor.js +++ b/apps/documenteditor/mobile/app/controller/Editor.js @@ -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))) || diff --git a/apps/presentationeditor/mobile/app/controller/Editor.js b/apps/presentationeditor/mobile/app/controller/Editor.js index d58fb8d6b0..2d27a63f6a 100644 --- a/apps/presentationeditor/mobile/app/controller/Editor.js +++ b/apps/presentationeditor/mobile/app/controller/Editor.js @@ -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))) || diff --git a/apps/spreadsheeteditor/mobile/app/controller/Editor.js b/apps/spreadsheeteditor/mobile/app/controller/Editor.js index 47eb0cc1af..13b0e943c1 100644 --- a/apps/spreadsheeteditor/mobile/app/controller/Editor.js +++ b/apps/spreadsheeteditor/mobile/app/controller/Editor.js @@ -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))) ||