about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch
diff options
context:
space:
mode:
authorDavid Yip <yipdw@member.fsf.org>2017-12-21 13:22:33 -0600
committerDavid Yip <yipdw@member.fsf.org>2017-12-21 13:22:33 -0600
commit7bb99ca3cfd031ac827ffe61cbef3b184b61e983 (patch)
treec857b25ca60047ef56c593b913568f3107a9159e /app/javascript/flavours/glitch
parentbc0152974f3b9ce9340b04c0356a2f9a72ea99ec (diff)
Add data-status-by back to DetailedStatus component. Fixes #273.
Diffstat (limited to 'app/javascript/flavours/glitch')
-rw-r--r--app/javascript/flavours/glitch/features/status/components/detailed_status.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/features/status/components/detailed_status.js b/app/javascript/flavours/glitch/features/status/components/detailed_status.js
index 0cb5238b0..538aa3d28 100644
--- a/app/javascript/flavours/glitch/features/status/components/detailed_status.js
+++ b/app/javascript/flavours/glitch/features/status/components/detailed_status.js
@@ -99,7 +99,7 @@ export default class DetailedStatus extends ImmutablePureComponent {
     }
 
     return (
-      <div className='detailed-status'>
+      <div className='detailed-status' data-status-by={status.getIn(['account', 'acct'])}>
         <a href={status.getIn(['account', 'url'])} onClick={this.handleAccountClick} className='detailed-status__display-name'>
           <div className='detailed-status__display-avatar'><Avatar account={status.get('account')} size={48} /></div>
           <DisplayName account={status.get('account')} />