| Index: chrome/renderer/resources/offline.js
|
| diff --git a/chrome/renderer/resources/offline.js b/chrome/renderer/resources/offline.js
|
| index 27f9d80847abfe283f635e5c5c60e2ada204da94..4575a9c849a5720b41eb3698d466cd4891cb1160 100644
|
| --- a/chrome/renderer/resources/offline.js
|
| +++ b/chrome/renderer/resources/offline.js
|
| @@ -82,13 +82,14 @@ var FPS = 60;
|
| var IS_HIDPI = window.devicePixelRatio > 1;
|
|
|
| /** @const */
|
| -var IS_MOBILE = window.navigator.userAgent.indexOf('Mobi') > -1;
|
| +var IS_IOS =
|
| + window.navigator.userAgent.indexOf('UIWebViewForStaticFileContent') > -1;
|
|
|
| /** @const */
|
| -var IS_TOUCH_ENABLED = 'ontouchstart' in window;
|
| +var IS_MOBILE = window.navigator.userAgent.indexOf('Mobi') > -1 || IS_IOS;
|
|
|
| /** @const */
|
| -var IS_IOS = window.navigator.userAgent.indexOf('CriOS') > -1;
|
| +var IS_TOUCH_ENABLED = 'ontouchstart' in window;
|
|
|
| /**
|
| * Default game configuration.
|
|
|