summaryrefslogtreecommitdiff
path: root/StoneIsland/platforms/android/assets/www/js/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'StoneIsland/platforms/android/assets/www/js/index.js')
-rwxr-xr-xStoneIsland/platforms/android/assets/www/js/index.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/StoneIsland/platforms/android/assets/www/js/index.js b/StoneIsland/platforms/android/assets/www/js/index.js
index ed82a820..b90f74b1 100755
--- a/StoneIsland/platforms/android/assets/www/js/index.js
+++ b/StoneIsland/platforms/android/assets/www/js/index.js
@@ -12,6 +12,10 @@ var app = (function(){
sdk.init({ env: "production" })
}
+ accessibility.init(app.prebuild) // check if we can do native scrolling before build
+ }
+
+ app.prebuild = function(){
app.bind()
app.build()
@@ -105,6 +109,7 @@ var app = (function(){
// }
// else {
// }
+ push.init()
if (navigator.onLine) {
app.account.connect(window.deepLinkRoute || '/intro')
@@ -119,8 +124,6 @@ var app = (function(){
app.router.go("intro")
app.finished_launching()
}
-
- push.init()
}
app.finished_launching = function(){