summaryrefslogtreecommitdiffstats
path: root/webapp/routes/route_team.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/routes/route_team.jsx')
-rw-r--r--webapp/routes/route_team.jsx7
1 files changed, 5 insertions, 2 deletions
diff --git a/webapp/routes/route_team.jsx b/webapp/routes/route_team.jsx
index 71abd46fb..1b4e48a51 100644
--- a/webapp/routes/route_team.jsx
+++ b/webapp/routes/route_team.jsx
@@ -132,9 +132,12 @@ function preNeedsTeam(nextState, replace, callback) {
});
}
-function onPermalinkEnter(nextState) {
+function onPermalinkEnter(nextState, replace, callback) {
const postId = nextState.params.postid;
- GlobalActions.emitPostFocusEvent(postId);
+ GlobalActions.emitPostFocusEvent(
+ postId,
+ () => callback()
+ );
}
export default {