diff options
author | Thibaut Girka <thib@sitedethib.com> | 2018-07-10 21:58:47 +0200 |
---|---|---|
committer | ThibG <thib@sitedethib.com> | 2018-07-10 22:53:04 +0200 |
commit | 612b00d1bb91c6b11f00fdb273dd8cd2ca883b12 (patch) | |
tree | aca54be05940b1cbc6e969a99a7fca621d10229c /app/javascript/flavours/glitch/features/composer | |
parent | ef1d660596e7d760911a0467454d35318c73c398 (diff) |
Display reply indicator even when replying to contentless toot (fixes #564)
Diffstat (limited to 'app/javascript/flavours/glitch/features/composer')
-rw-r--r-- | app/javascript/flavours/glitch/features/composer/index.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/javascript/flavours/glitch/features/composer/index.js b/app/javascript/flavours/glitch/features/composer/index.js index 1bd1b9347..95cb93f30 100644 --- a/app/javascript/flavours/glitch/features/composer/index.js +++ b/app/javascript/flavours/glitch/features/composer/index.js @@ -314,14 +314,14 @@ class Composer extends React.Component { {privacy === 'direct' ? <ComposerDirectWarning /> : null} {privacy === 'private' && amUnlocked ? <ComposerWarning /> : null} {privacy !== 'public' && APPROX_HASHTAG_RE.test(text) ? <ComposerHashtagWarning /> : null} - {replyContent ? ( + {replyContent !== null && ( <ComposerReply account={replyAccount} content={replyContent} intl={intl} onCancel={onCancelReply} /> - ) : null} + )} <ComposerTextarea advancedOptions={advancedOptions} autoFocus={!showSearch && !isMobile(window.innerWidth, layout)} |