summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js/index.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2019-07-14 13:25:33 +0200
committerJules Laplace <julescarbon@gmail.com>2019-07-14 13:25:33 +0200
commitca57b4538cdc3d1d11d1aeb055e038cec2d48a35 (patch)
tree81af3acb2bb7ddcaebacbb716df839ed20ccc1af /StoneIsland/www/js/index.js
parente7df26edfb920e39bd45bef40830c8e6f2e88ed3 (diff)
adding ids to addressview
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