diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2017-11-05 20:52:40 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2017-11-05 20:52:40 +0100 |
| commit | f7ac115cc2c43d08f61c0e5a16657fd732a0a520 (patch) | |
| tree | 08b1289094669d8b75f418ec46dacb0bdf0cc0d9 /StoneIsland/www/js/index.js | |
| parent | 60a306af8be5e06ac4c13419dd6b4189105f216e (diff) | |
API check
Diffstat (limited to 'StoneIsland/www/js/index.js')
| -rwxr-xr-x | StoneIsland/www/js/index.js | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/StoneIsland/www/js/index.js b/StoneIsland/www/js/index.js index e554f672..511849ad 100755 --- a/StoneIsland/www/js/index.js +++ b/StoneIsland/www/js/index.js @@ -79,11 +79,16 @@ var app = (function(){ cordova.plugins.Keyboard.disableScroll(true) cordova.plugins.Keyboard.hideKeyboardAccessoryBar(false) geo.fetch() - sim.fetch() + sim.fetch(app.api_ready) var image = new Image image.src = "./img/compass-logo.png" } - + else { + app.api_ready() + } + } + + app.api_ready = function(){ if (is_iphone_x) { StatusBar.hide() } |
