summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'StoneIsland/www/js/index.js')
-rwxr-xr-xStoneIsland/www/js/index.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/StoneIsland/www/js/index.js b/StoneIsland/www/js/index.js
index a8caa2e5..e358fc56 100755
--- a/StoneIsland/www/js/index.js
+++ b/StoneIsland/www/js/index.js
@@ -90,8 +90,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