about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/features
diff options
context:
space:
mode:
authorbeatrix <beatrix.bitrot@gmail.com>2017-12-21 16:10:36 -0500
committerGitHub <noreply@github.com>2017-12-21 16:10:36 -0500
commita3cb5a6b64b44ded09a2cc1de15df2848d46b600 (patch)
treec857b25ca60047ef56c593b913568f3107a9159e /app/javascript/flavours/glitch/features
parentbc0152974f3b9ce9340b04c0356a2f9a72ea99ec (diff)
parent7bb99ca3cfd031ac827ffe61cbef3b184b61e983 (diff)
Merge pull request #277 from glitch-soc/273-add-data-status-by-to-detailed-status
Add data-status-by back to DetailedStatus component.  Fixes #273.
Diffstat (limited to 'app/javascript/flavours/glitch/features')
-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')} />