diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2019-09-03 15:18:23 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2019-09-03 15:18:23 +0200 |
| commit | 6f2af841c17ff4ed28d40121114825a40e8cf6fa (patch) | |
| tree | 5cc68e65c61e85ada066e45cf62805b60b24cf67 /StoneIsland/platforms/android/assets/www/js/index.js | |
| parent | bea0583348a3e7de85d4fed5e7fe206fb90fcc73 (diff) | |
updating rems
Diffstat (limited to 'StoneIsland/platforms/android/assets/www/js/index.js')
| -rwxr-xr-x | StoneIsland/platforms/android/assets/www/js/index.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/StoneIsland/platforms/android/assets/www/js/index.js b/StoneIsland/platforms/android/assets/www/js/index.js index a8caa2e5..ed82a820 100755 --- a/StoneIsland/platforms/android/assets/www/js/index.js +++ b/StoneIsland/platforms/android/assets/www/js/index.js @@ -18,6 +18,9 @@ var app = (function(){ app.iscroll_options = { mouseWheel: true, scrollbars: true, + disablePointer: is_android ? true : false, // important to disable the pointer events that causes the issues + disableTouch: false, // false if you want the slider to be usable with touch devices + disableMouse: false // false if you want the slider to be usable with a mouse (desktop) } if (window.cordova) { @@ -90,8 +93,8 @@ var app = (function(){ } app.api_ready = function(){ - if (is_iphone_x) { - StatusBar.hide() + if (is_iphone_x && 'StatusBar' in window) { + window.StatusBar.hide() } app.view = null |
