diff options
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 |
