diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2017-11-06 00:54:06 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2017-11-06 00:54:06 +0100 |
| commit | 874448ba5fa8ff0796e9934c44eb8ba695c80257 (patch) | |
| tree | cdcc640a7baf463a49bdc6099be4749789851aa9 /StoneIsland/platforms/ios/www/js/index.js | |
| parent | 207a2d0d311fe602f81e594877bb0a996b01aa18 (diff) | |
check if hub needed..
Diffstat (limited to 'StoneIsland/platforms/ios/www/js/index.js')
| -rwxr-xr-x | StoneIsland/platforms/ios/www/js/index.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/StoneIsland/platforms/ios/www/js/index.js b/StoneIsland/platforms/ios/www/js/index.js index eb3b32b9..511849ad 100755 --- a/StoneIsland/platforms/ios/www/js/index.js +++ b/StoneIsland/platforms/ios/www/js/index.js @@ -79,10 +79,16 @@ var app = (function(){ cordova.plugins.Keyboard.disableScroll(true) cordova.plugins.Keyboard.hideKeyboardAccessoryBar(false) geo.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() } |
