summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js/lib/etc/deeplink.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2017-11-24 17:58:49 +0100
committerJules Laplace <julescarbon@gmail.com>2017-11-24 17:58:49 +0100
commit2ed50ad9ea7844afcd8aa2a63bf0844460e24d37 (patch)
treebeba970eb341d5dde9a1a0454afba1c5caa7fa3a /StoneIsland/www/js/lib/etc/deeplink.js
parent163d269eef310617a23b6b8be8270b44794dd723 (diff)
really fix deep linking
Diffstat (limited to 'StoneIsland/www/js/lib/etc/deeplink.js')
-rwxr-xr-xStoneIsland/www/js/lib/etc/deeplink.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/StoneIsland/www/js/lib/etc/deeplink.js b/StoneIsland/www/js/lib/etc/deeplink.js
index fc3b52a9..252a94c9 100755
--- a/StoneIsland/www/js/lib/etc/deeplink.js
+++ b/StoneIsland/www/js/lib/etc/deeplink.js
@@ -1,6 +1,6 @@
function handleOpenURL (url) {
console.log("DEEP LINKING DETECTED", url)
url = url.replace("stoneisland:/", "")
- app.router.parseRoute( url )
- app.deepLinkRoute = url
+ app.router && app.router.parseRoute( url )
+ window.deepLinkRoute = url
} \ No newline at end of file