about summary refs log tree commit diff
path: root/app/assets/javascripts/components/containers
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-11-21 10:52:11 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-11-21 10:52:11 +0100
commitd32e0364f9aa2d61080c53489996351d4bd7b1c4 (patch)
treeb30efea75acedb9a7fdf54727c2a54066f976c6d /app/assets/javascripts/components/containers
parent93577f74e7ec2edee3a1a208513ae7290211e682 (diff)
Switch to compose route when replying and compose is not mounted
Diffstat (limited to 'app/assets/javascripts/components/containers')
-rw-r--r--app/assets/javascripts/components/containers/status_container.jsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/components/containers/status_container.jsx b/app/assets/javascripts/components/containers/status_container.jsx
index 2bcb7026c..28756b5ef 100644
--- a/app/assets/javascripts/components/containers/status_container.jsx
+++ b/app/assets/javascripts/components/containers/status_container.jsx
@@ -61,8 +61,8 @@ const makeMapStateToPropsLast = () => {
 
 const mapDispatchToProps = (dispatch) => ({
 
-  onReply (status) {
-    dispatch(replyCompose(status));
+  onReply (status, router) {
+    dispatch(replyCompose(status, router));
   },
 
   onReblog (status) {