From: Anthony Bellew Date: Thu, 26 Jan 2017 03:56:33 +0000 (-0700) Subject: Add brackets to visually distinguish show more / show less text X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=baa52984e9efc6264470ca18ff33816a49d79527;p=mastodon.git Add brackets to visually distinguish show more / show less text --- 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 ? : ; + const toggleText = hidden ? : ; return (