summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js/index.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-06-17 18:14:40 +0200
committerJules Laplace <julescarbon@gmail.com>2018-06-17 18:14:40 +0200
commit712deb604be9d608b990c6ba1f9af2560e8f20e3 (patch)
treedfa8889be024038eaedcc238cb2892fdcc38f12e /StoneIsland/www/js/index.js
parent76df508468975b9ffdd47373e5a406e21ac8cfdf (diff)
confirm error msg better
Diffstat (limited to 'StoneIsland/www/js/index.js')
-rwxr-xr-xStoneIsland/www/js/index.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/StoneIsland/www/js/index.js b/StoneIsland/www/js/index.js
index 9b54ad44..a5a2cdfa 100755
--- a/StoneIsland/www/js/index.js
+++ b/StoneIsland/www/js/index.js
@@ -96,9 +96,9 @@ var app = (function(){
app.view = null
app.router = new SiteRouter ()
-// if (sdk.env == "test") {
-// app.router.launch()
-// }
+ // if (sdk.env == "test") {
+ // app.router.launch()
+ // }
// else {
// }
@@ -106,7 +106,7 @@ var app = (function(){
app.account.connect(window.deepLinkRoute || '/intro')
app.blog.fetch(function(){
console.log("navigating to deep link route after fetch")
- app.router.initial_route = window.deepLinkRoute || "/intro"
+ app.router.initial_route = window.deepLinkRoute || null
app.router.launch()
})
}