From 712deb604be9d608b990c6ba1f9af2560e8f20e3 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sun, 17 Jun 2018 18:14:40 +0200 Subject: confirm error msg better --- StoneIsland/www/js/index.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'StoneIsland/www/js/index.js') 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() }) } -- cgit v1.2.3-70-g09d2