From 00cc3066a2781f1cc21b23677e797c7bfa9a2f6b Mon Sep 17 00:00:00 2001
From: blackle <isabelle@blackle-mori.com>
Date: Thu, 13 Apr 2017 09:04:18 -0400
Subject: Allow video to be expanded into lightbox

---
 app/assets/javascripts/components/containers/status_container.jsx | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'app/assets/javascripts/components/containers/status_container.jsx')

diff --git a/app/assets/javascripts/components/containers/status_container.jsx b/app/assets/javascripts/components/containers/status_container.jsx
index fedf80fbf..d68acd96a 100644
--- a/app/assets/javascripts/components/containers/status_container.jsx
+++ b/app/assets/javascripts/components/containers/status_container.jsx
@@ -75,6 +75,10 @@ const mapDispatchToProps = (dispatch) => ({
     dispatch(openModal('MEDIA', { media, index }));
   },
 
+  onOpenVideo (media) {
+    dispatch(openModal('VIDEO', { media }));
+  },
+
   onBlock (account) {
     dispatch(blockAccount(account.get('id')));
   },
-- 
cgit 

