From ca57b4538cdc3d1d11d1aeb055e038cec2d48a35 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sun, 14 Jul 2019 13:25:33 +0200 Subject: adding ids to addressview --- StoneIsland/www/js/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'StoneIsland/www/js/index.js') 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 -- cgit v1.2.3-70-g09d2