diff options
author | Thibaut Girka <thib@sitedethib.com> | 2019-02-06 19:48:28 +0100 |
---|---|---|
committer | ThibG <thib@sitedethib.com> | 2019-02-10 22:54:25 +0100 |
commit | e49e54a5ffb3c5304a42c12be9dba6cc47384250 (patch) | |
tree | d62e36db52fab9b73bd45c83f8ccb89a2a785299 /app | |
parent | 405ef5ad3763ebf948dff61fff8af59a3937a9f9 (diff) |
Cleanup redundant markup for hidden statuses
Diffstat (limited to 'app')
-rw-r--r-- | app/javascript/flavours/glitch/components/status.js | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/app/javascript/flavours/glitch/components/status.js b/app/javascript/flavours/glitch/components/status.js index 9ff53485e..80cd0f42e 100644 --- a/app/javascript/flavours/glitch/components/status.js +++ b/app/javascript/flavours/glitch/components/status.js @@ -384,15 +384,7 @@ export default class Status extends ImmutablePureComponent { if (hidden) { return ( - <div - ref={this.handleRef} - data-id={status.get('id')} - style={{ - height: `${this.height}px`, - opacity: 0, - overflow: 'hidden', - }} - > + <div ref={this.handleRef}> {status.getIn(['account', 'display_name']) || status.getIn(['account', 'username'])} {' '} {status.get('content')} |