diff options
author | David Yip <yipdw@member.fsf.org> | 2017-11-28 17:34:03 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-28 17:34:03 -0600 |
commit | 84840e8d8c2cb4c1f7848e1148e2531edaf2c3d7 (patch) | |
tree | 5cd4327ce6e151d32d1f2d9c68487f0b47842e91 /app/javascript/themes/glitch/features/status/components/detailed_status.js | |
parent | 3614912be258f66155369ba9b01fa8e7336afbdd (diff) | |
parent | 6a48efe16c062b8c82975573400e44d817ab548b (diff) |
Merge pull request #232 from glitch-soc/hotkeys-glitch
Implement status hotkeys + spoiler expanding
Diffstat (limited to 'app/javascript/themes/glitch/features/status/components/detailed_status.js')
-rw-r--r-- | app/javascript/themes/glitch/features/status/components/detailed_status.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/javascript/themes/glitch/features/status/components/detailed_status.js b/app/javascript/themes/glitch/features/status/components/detailed_status.js index 7606bfbf3..df78ce4b6 100644 --- a/app/javascript/themes/glitch/features/status/components/detailed_status.js +++ b/app/javascript/themes/glitch/features/status/components/detailed_status.js @@ -41,7 +41,7 @@ export default class DetailedStatus extends ImmutablePureComponent { render () { const status = this.props.status.get('reblog') ? this.props.status.get('reblog') : this.props.status; - const { settings } = this.props; + const { expanded, setExpansion, settings } = this.props; let media = ''; let mediaIcon = null; @@ -109,6 +109,8 @@ export default class DetailedStatus extends ImmutablePureComponent { status={status} media={media} mediaIcon={mediaIcon} + expanded={expanded} + setExpansion={setExpansion} /> <div className='detailed-status__meta'> |