From 9c65d2df09f4c547513f5f8bca6180fd741533d5 Mon Sep 17 00:00:00 2001 From: Connor Turland Date: Sun, 5 Feb 2017 07:05:25 +0000 Subject: [PATCH] for special conversation url --- frontend/src/Metamaps/Visualize.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/src/Metamaps/Visualize.js b/frontend/src/Metamaps/Visualize.js index 242de459..d0df3ccd 100644 --- a/frontend/src/Metamaps/Visualize.js +++ b/frontend/src/Metamaps/Visualize.js @@ -212,6 +212,8 @@ const Visualize = { Router.timeoutId = setTimeout(function() { var m = Active.Map var t = Active.Topic + + if (m && window.location.pathname === '/maps/' + m.id + '/conversation') return if (m && window.location.pathname !== '/maps/' + m.id) { Router.navigateAndTrack('/maps/' + m.id)