summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--client/config/router.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/config/router.js b/client/config/router.js
index 5260e03f..76d7b3ad 100644
--- a/client/config/router.js
+++ b/client/config/router.js
@@ -29,6 +29,8 @@ FlowRouter.route('/b/:id/:slug', {
// want to excape every current actions (filters, etc.)
if (previousBoard !== currentBoard) {
EscapeActions.executeAll();
+ } else {
+ EscapeActions.executeUpTo('popup-close');
}
BlazeLayout.render('defaultLayout', { content: 'board' });