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.js9
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()
}