about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--app/assets/javascripts/components/components/status.jsx7
1 files changed, 4 insertions, 3 deletions
diff --git a/app/assets/javascripts/components/components/status.jsx b/app/assets/javascripts/components/components/status.jsx
index d3acff3f0..6e4c9651d 100644
--- a/app/assets/javascripts/components/components/status.jsx
+++ b/app/assets/javascripts/components/components/status.jsx
@@ -41,11 +41,12 @@ const Status = React.createClass({
   },
 
   render () {
-    var media   = '';
+    let media = '';
+    let { status, ...other } = this.props;
 
-    var { status, ...other } = this.props;
+    if (status.get('reblog', null) !== null) {
+      console.log(status.get('id'), status.get('reblog'));
 
-    if (status.get('reblog') !== null) {
       let displayName = status.getIn(['account', 'display_name']);
 
       if (displayName.length === 0) {