summaryrefslogtreecommitdiff
path: root/StoneIsland/platforms/ios/www/js/lib/_router.js
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2016-01-20 01:51:14 +0100
committerJules Laplace <jules@okfoc.us>2016-01-20 01:51:14 +0100
commit9c00e423f03a768668982061c65a6e95f77664d1 (patch)
treeaa0f645699afc34adb9191211f499f72621585b3 /StoneIsland/platforms/ios/www/js/lib/_router.js
parent39780c6c2d5474e2af12661935f986265c0feb0d (diff)
spacing
Diffstat (limited to 'StoneIsland/platforms/ios/www/js/lib/_router.js')
-rwxr-xr-xStoneIsland/platforms/ios/www/js/lib/_router.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/StoneIsland/platforms/ios/www/js/lib/_router.js b/StoneIsland/platforms/ios/www/js/lib/_router.js
index b1fa1c97..6ec14825 100755
--- a/StoneIsland/platforms/ios/www/js/lib/_router.js
+++ b/StoneIsland/platforms/ios/www/js/lib/_router.js
@@ -58,6 +58,11 @@ var SiteRouter = Router.extend({
this.route()
}
this.initial_route = null
+
+ if (window.cordova) {
+ navigator.splashscreen.hide()
+ }
+ $("body").removeClass("loading")
},
go: function(url){