diff options
author | Anthony Bellew <anthonyreflected@gmail.com> | 2017-01-25 20:56:33 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-25 20:56:33 -0700 |
commit | baa52984e9efc6264470ca18ff33816a49d79527 (patch) | |
tree | 63046f80dd0276ed17b27a08ad0fee1cf5a4302a /app/assets/javascripts | |
parent | 3d890c407356c8e0e7dd9b64e8e232ededcff8e8 (diff) |
Add brackets to visually distinguish show more / show less text
Diffstat (limited to 'app/assets/javascripts')
-rw-r--r-- | app/assets/javascripts/components/components/status_content.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/components/components/status_content.jsx b/app/assets/javascripts/components/components/status_content.jsx index 521b557f0..06c0e24ee 100644 --- a/app/assets/javascripts/components/components/status_content.jsx +++ b/app/assets/javascripts/components/components/status_content.jsx @@ -88,7 +88,7 @@ const StatusContent = React.createClass({ const spoilerContent = { __html: emojify(status.get('spoiler_text', '')) }; if (status.get('spoiler_text').length > 0) { - const toggleText = hidden ? <FormattedMessage id='status.show_more' defaultMessage='Show more' /> : <FormattedMessage id='status.show_less' defaultMessage='Show less' />; + const toggleText = hidden ? <FormattedMessage id='status.show_more' defaultMessage='[Show more]' /> : <FormattedMessage id='status.show_less' defaultMessage='[Show less]' />; return ( <div className='status__content' style={{ cursor: 'pointer' }} onMouseDown={this.handleMouseDown} onMouseUp={this.handleMouseUp}> |